public interface ErrorMessage extends Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
ErrorMessage.ErrorLevel |
Modifier and Type | Field and Description |
---|---|
static ErrorMessage.ErrorLevel |
CRITICAL
Deprecated.
As of 7.0, use
ErrorMessage.ErrorLevel.CRITICAL instead |
static ErrorMessage.ErrorLevel |
ERROR
Deprecated.
As of 7.0, use
ErrorMessage.ErrorLevel.ERROR instead |
static ErrorMessage.ErrorLevel |
INFORMATION
Deprecated.
As of 7.0, use
ErrorMessage.ErrorLevel.INFORMATION instead |
static ErrorMessage.ErrorLevel |
SYSTEMERROR
Deprecated.
As of 7.0, use
ErrorMessage.ErrorLevel.SYSTEMERROR instead |
static ErrorMessage.ErrorLevel |
WARNING
Deprecated.
As of 7.0, use
ErrorMessage.ErrorLevel.WARNING instead |
Modifier and Type | Method and Description |
---|---|
ErrorMessage.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 ErrorMessage.ErrorLevel SYSTEMERROR
ErrorMessage.ErrorLevel.SYSTEMERROR
instead@Deprecated static final ErrorMessage.ErrorLevel CRITICAL
ErrorMessage.ErrorLevel.CRITICAL
instead@Deprecated static final ErrorMessage.ErrorLevel ERROR
ErrorMessage.ErrorLevel.ERROR
instead@Deprecated static final ErrorMessage.ErrorLevel WARNING
ErrorMessage.ErrorLevel.WARNING
instead@Deprecated static final ErrorMessage.ErrorLevel INFORMATION
ErrorMessage.ErrorLevel.INFORMATION
insteadErrorMessage.ErrorLevel getErrorLevel()
String getFormattedHtmlMessage()
Copyright © 2019 Vaadin Ltd. All rights reserved.