| Package | Description |
|---|---|
| org.yamj.api.common.exception |
| Modifier and Type | Method and Description |
|---|---|
ApiExceptionType |
ApiException.getExceptionType()
The enumerated type of the exception
|
static ApiExceptionType |
ApiExceptionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiExceptionType[] |
ApiExceptionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ApiException(ApiExceptionType exceptionType,
String response)
Generate an API exception
|
ApiException(ApiExceptionType exceptionType,
String response,
int responseCode,
String url)
Generate an API exception
|
ApiException(ApiExceptionType exceptionType,
String response,
int responseCode,
String url,
Throwable cause)
Generate an API exception
|
ApiException(ApiExceptionType exceptionType,
String response,
int responseCode,
URL url)
Generate an API exception
|
ApiException(ApiExceptionType exceptionType,
String response,
int responseCode,
URL url,
Throwable cause)
Generate an API exception
|
ApiException(ApiExceptionType exceptionType,
String response,
String url)
Generate an API exception
|
ApiException(ApiExceptionType exceptionType,
String response,
String url,
Throwable cause)
Generate an API exception
|
ApiException(ApiExceptionType exceptionType,
String response,
URL url)
Generate an API exception
|
ApiException(ApiExceptionType exceptionType,
String response,
URL url,
Throwable cause)
Generate an API exception
|
Copyright © 2013-2015. All Rights Reserved.