|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ConversionErrorCode> com.google.appengine.api.conversion.ConversionErrorCode
public enum ConversionErrorCode
The error code of Conversion service.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |