public static enum ExceptionHandler.Severity extends Enum<ExceptionHandler.Severity>
Enum Constant and Description |
---|
CONNECTION |
FATAL |
TRANSPORT |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ExceptionHandler.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionHandler.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionHandler.Severity UNKNOWN
public static final ExceptionHandler.Severity CONNECTION
public static final ExceptionHandler.Severity TRANSPORT
public static final ExceptionHandler.Severity FATAL
public static ExceptionHandler.Severity[] values()
for (ExceptionHandler.Severity c : ExceptionHandler.Severity.values()) System.out.println(c);
public static ExceptionHandler.Severity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014 Oracle Corporation. All rights reserved.