public abstract class VoiceException
extends java.lang.Exception
Voice
exceptions.Modifier and Type | Field and Description |
---|---|
static int |
EXCEPTION_AUTH_FAILURE |
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 |
Constructor and Description |
---|
VoiceException(int errorCode,
java.lang.String errorMessage,
java.lang.String explanation) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
java.lang.String |
getExplanation()
Returns the explanation related to the exception.
|
java.lang.String |
getMessage() |
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