public interface ErrorMessage extends Serializable
Modifier and Type | Field and Description |
---|---|
static ErrorLevel |
CRITICAL
Deprecated.
As of 7.0, use
ErrorLevel.CRITICAL instead |
static ErrorLevel |
ERROR
Deprecated.
As of 7.0, use
ErrorLevel.ERROR instead |
static ErrorLevel |
INFORMATION
Deprecated.
As of 7.0, use
ErrorLevel.INFO instead |
static ErrorLevel |
SYSTEMERROR
Deprecated.
As of 7.0, use
ErrorLevel.SYSTEM instead |
static ErrorLevel |
WARNING
Deprecated.
As of 7.0, use
ErrorLevel.WARNING instead |
Modifier and Type | Method and Description |
---|---|
ErrorLevel |
getErrorLevel()
Gets the errors level.
|
String |
getFormattedHtmlMessage()
Returns the HTML formatted message to show in as the error message on the
client.
|
@Deprecated static final ErrorLevel SYSTEMERROR
ErrorLevel.SYSTEM
instead @Deprecated static final ErrorLevel CRITICAL
ErrorLevel.CRITICAL
instead @Deprecated static final ErrorLevel ERROR
ErrorLevel.ERROR
instead @Deprecated static final ErrorLevel WARNING
ErrorLevel.WARNING
instead @Deprecated static final ErrorLevel INFORMATION
ErrorLevel.INFO
instead ErrorLevel getErrorLevel()
String getFormattedHtmlMessage()
Copyright © 2018 Vaadin Ltd. All rights reserved.