public static enum ODataParserException.ErrorCode extends java.lang.Enum<ODataParserException.ErrorCode> implements ODataException.AbstractErrorCode
ODataParserException
.Enum Constant and Description |
---|
DataDeserializationError |
DataSerializationError |
InternalError |
MetadataDeserializationError |
ODataErrorDeserializationError |
ValidationError |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Returns the displayable message of this error code.
|
static ODataParserException.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ODataParserException.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ODataParserException.ErrorCode DataSerializationError
public static final ODataParserException.ErrorCode DataDeserializationError
public static final ODataParserException.ErrorCode MetadataDeserializationError
public static final ODataParserException.ErrorCode ValidationError
public static final ODataParserException.ErrorCode InternalError
public static final ODataParserException.ErrorCode ODataErrorDeserializationError
public static ODataParserException.ErrorCode[] values()
for (ODataParserException.ErrorCode c : ODataParserException.ErrorCode.values()) System.out.println(c);
public static ODataParserException.ErrorCode 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 java.lang.String getMessage()
ODataException.AbstractErrorCode
getMessage
in interface ODataException.AbstractErrorCode