|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ErrorMessage.ErrorLevel>
com.vaadin.server.ErrorMessage.ErrorLevel
public static enum ErrorMessage.ErrorLevel
Enum Constant Summary | |
---|---|
CRITICAL
Error code for critical error messages. |
|
ERROR
Error code for regular error messages. |
|
INFORMATION
Error code for informational messages. |
|
SYSTEMERROR
Error code for system errors and bugs. |
|
WARNING
Error code for warning messages. |
Method Summary | |
---|---|
java.lang.String |
getText()
Textual representation for server-client communication of level |
int |
intValue()
Integer representation of error severity for comparison |
java.lang.String |
toString()
|
static ErrorMessage.ErrorLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ErrorMessage.ErrorLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ErrorMessage.ErrorLevel INFORMATION
public static final ErrorMessage.ErrorLevel WARNING
public static final ErrorMessage.ErrorLevel ERROR
public static final ErrorMessage.ErrorLevel CRITICAL
public static final ErrorMessage.ErrorLevel SYSTEMERROR
Method Detail |
---|
public static ErrorMessage.ErrorLevel[] values()
for (ErrorMessage.ErrorLevel c : ErrorMessage.ErrorLevel.values()) System.out.println(c);
public static ErrorMessage.ErrorLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getText()
public int intValue()
public java.lang.String toString()
toString
in class java.lang.Enum<ErrorMessage.ErrorLevel>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |