public static enum ErrorResponse.Level extends java.lang.Enum<ErrorResponse.Level>
| Enum Constant and Description |
|---|
DEBUG |
ERROR |
FATAL |
INFO |
LOG |
NOTICE |
PANIC |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
static ErrorResponse.Level |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorResponse.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorResponse.Level ERROR
public static final ErrorResponse.Level FATAL
public static final ErrorResponse.Level PANIC
public static final ErrorResponse.Level WARNING
public static final ErrorResponse.Level NOTICE
public static final ErrorResponse.Level DEBUG
public static final ErrorResponse.Level INFO
public static final ErrorResponse.Level LOG
public static ErrorResponse.Level[] values()
for (ErrorResponse.Level c : ErrorResponse.Level.values()) System.out.println(c);
public static ErrorResponse.Level 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 namejava.lang.NullPointerException - if the argument is nullCopyright © 2014. All Rights Reserved.