public enum ApiExceptionType extends Enum<ApiExceptionType>
| Enum Constant and Description |
|---|
AUTH_FAILURE
Auth error
|
CONNECTION_ERROR
Error connecting to the service
|
HTTP_404_ERROR
Page not found
|
HTTP_503_ERROR
Service Unavailable, usually temporary
|
HTTP_CLIENT_MISSING
HTTP client is missing
|
ID_NOT_FOUND
The ID was not found
|
INVALID_IMAGE
Image was invalid
|
INVALID_URL
URL is invalid
|
MAPPING_FAILED
Mapping failed from target to internal objects
|
UNKNOWN_CAUSE
Unknown error occurred
|
| Modifier and Type | Method and Description |
|---|---|
static ApiExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiExceptionType UNKNOWN_CAUSE
public static final ApiExceptionType INVALID_URL
public static final ApiExceptionType ID_NOT_FOUND
public static final ApiExceptionType MAPPING_FAILED
public static final ApiExceptionType CONNECTION_ERROR
public static final ApiExceptionType INVALID_IMAGE
public static final ApiExceptionType AUTH_FAILURE
public static final ApiExceptionType HTTP_404_ERROR
public static final ApiExceptionType HTTP_503_ERROR
public static final ApiExceptionType HTTP_CLIENT_MISSING
public static ApiExceptionType[] values()
for (ApiExceptionType c : ApiExceptionType.values()) System.out.println(c);
public static ApiExceptionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2013-2015. All Rights Reserved.