public class VoiceException extends Exception
Voice
exceptions.Modifier and Type | Field and Description |
---|---|
static int |
EXCEPTION_ACCESS_TOKEN_REJECTED |
static int |
EXCEPTION_AUTH_FAILURE |
static int |
EXCEPTION_BAD_GATEWAY |
static int |
EXCEPTION_BAD_REQUEST |
static int |
EXCEPTION_FORBIDDEN |
static int |
EXCEPTION_GATEWAY_TIMEOUT |
static int |
EXCEPTION_INTERNAL_SERVER_ERROR |
static int |
EXCEPTION_INVALID_ACCESS_TOKEN |
static int |
EXCEPTION_INVALID_ACCESS_TOKEN_EXPIRY |
static int |
EXCEPTION_INVALID_ACCESS_TOKEN_GRANT |
static int |
EXCEPTION_INVALID_ACCESS_TOKEN_HEADER |
static int |
EXCEPTION_INVALID_ACCESS_TOKEN_NOT_VALID_YET |
static int |
EXCEPTION_INVALID_ISSUER_SUBJECT |
static int |
EXCEPTION_INVALID_SIGNATURE |
static int |
EXCEPTION_INVALID_TOKEN |
static int |
EXCEPTION_INVALID_TTL |
static int |
EXCEPTION_NOT_FOUND |
static int |
EXCEPTION_REQUEST_TIMEOUT |
static int |
EXCEPTION_SERVICE_UNAVAILABLE |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
String |
getExplanation()
Returns the explanation related to the exception.
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final int EXCEPTION_INVALID_ACCESS_TOKEN
public static final int EXCEPTION_INVALID_ACCESS_TOKEN_HEADER
public static final int EXCEPTION_INVALID_ISSUER_SUBJECT
public static final int EXCEPTION_INVALID_ACCESS_TOKEN_EXPIRY
public static final int EXCEPTION_INVALID_ACCESS_TOKEN_NOT_VALID_YET
public static final int EXCEPTION_INVALID_ACCESS_TOKEN_GRANT
public static final int EXCEPTION_INVALID_SIGNATURE
public static final int EXCEPTION_AUTH_FAILURE
public static final int EXCEPTION_INVALID_TTL
public static final int EXCEPTION_INVALID_TOKEN
public static final int EXCEPTION_ACCESS_TOKEN_REJECTED
public static final int EXCEPTION_BAD_REQUEST
public static final int EXCEPTION_FORBIDDEN
public static final int EXCEPTION_NOT_FOUND
public static final int EXCEPTION_REQUEST_TIMEOUT
public static final int EXCEPTION_INTERNAL_SERVER_ERROR
public static final int EXCEPTION_BAD_GATEWAY
public static final int EXCEPTION_SERVICE_UNAVAILABLE
public static final int EXCEPTION_GATEWAY_TIMEOUT
public String getMessage()
getMessage
in class Throwable
public int getErrorCode()
public String getExplanation()
6.0.1