public enum InternalExceptionCause extends java.lang.Enum<InternalExceptionCause>
InternalException to specify the cause of the exception.| Enum Constant and Description |
|---|
INTERNAL_ERROR
System error from the Provider.
|
THROTTLED
This request was rejected by the device due to throttling.
|
UNEXPECTED_ERROR
Unexpected error from the Provider.
|
| Modifier and Type | Method and Description |
|---|---|
static InternalExceptionCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InternalExceptionCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalExceptionCause UNEXPECTED_ERROR
Resolution: The application should call getCause to check for another throwable, or call getMessage to check the error message.
public static final InternalExceptionCause INTERNAL_ERROR
Resolution: The application should call getCause to check for another throwable, or call getMessage to check the error message.
public static final InternalExceptionCause THROTTLED
Resolution: Reduce traffic or increase capacity.
public static InternalExceptionCause[] values()
for (InternalExceptionCause c : InternalExceptionCause.values()) System.out.println(c);
public static InternalExceptionCause 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