public static enum BridgeException.CodeDescription extends Enum<BridgeException.CodeDescription> implements CodeDescription
| Enum Constant and Description |
|---|
ILLEGAL_ARGUMENT_ERROR |
INTERNAL_ERROR |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getDescription() |
static BridgeException.CodeDescription |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BridgeException.CodeDescription[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BridgeException.CodeDescription INTERNAL_ERROR
public static final BridgeException.CodeDescription ILLEGAL_ARGUMENT_ERROR
public static BridgeException.CodeDescription[] values()
for (BridgeException.CodeDescription c : BridgeException.CodeDescription.values()) System.out.println(c);
public static BridgeException.CodeDescription 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 nullpublic int getCode()
getCode in interface CodeDescriptionpublic String getDescription()
getDescription in interface CodeDescription