public enum ConversionErrorCode extends java.lang.Enum<ConversionErrorCode>
| Enum Constant and Description |
|---|
CONVERSION_TOO_LARGE
Conversion too large.
|
INTERNAL_ERROR
Something wrong in the backend that can't be sent back to application.
|
INVALID_REQUEST
Request not formed properly.
|
TIMEOUT
Communication to backend service timed-out.
|
TOO_MANY_CONVERSIONS
Too many conversions in one request.
|
TRANSIENT_ERROR
Transient error while accessing the backend, please try again later.
|
UNSUPPORTED_CONVERSION
Unsupported conversion attempted.
|
| Modifier and Type | Method and Description |
|---|---|
static ConversionErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConversionErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConversionErrorCode TIMEOUT
public static final ConversionErrorCode TRANSIENT_ERROR
public static final ConversionErrorCode INTERNAL_ERROR
public static final ConversionErrorCode UNSUPPORTED_CONVERSION
public static final ConversionErrorCode CONVERSION_TOO_LARGE
public static final ConversionErrorCode TOO_MANY_CONVERSIONS
public static final ConversionErrorCode INVALID_REQUEST
public static ConversionErrorCode[] values()
for (ConversionErrorCode c : ConversionErrorCode.values()) System.out.println(c);
public static ConversionErrorCode 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 null