public enum DxlErrorMessageEnum extends java.lang.Enum<DxlErrorMessageEnum>
Enum Constant and Description |
---|
FABRICSERVICEUNAVAILABLE
Indicates that a service was not available for a request (equivalent to HTTP 404)
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns the error code
|
java.lang.String |
getErrorMessage()
Returns the error message
|
static DxlErrorMessageEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DxlErrorMessageEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DxlErrorMessageEnum FABRICSERVICEUNAVAILABLE
public static DxlErrorMessageEnum[] values()
for (DxlErrorMessageEnum c : DxlErrorMessageEnum.values()) System.out.println(c);
public static DxlErrorMessageEnum 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 nullpublic int getErrorCode()
public java.lang.String getErrorMessage()