Package com.twilio.voice
Class VoiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.twilio.voice.VoiceException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CallException,RegistrationException
public class VoiceException extends java.lang.ExceptionA parent class of allVoiceexceptions.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intEXCEPTION_ACCESS_TOKEN_REJECTEDstatic intEXCEPTION_AUTH_FAILUREstatic intEXCEPTION_BAD_GATEWAYstatic intEXCEPTION_BAD_REQUESTstatic intEXCEPTION_FORBIDDENstatic intEXCEPTION_GATEWAY_TIMEOUTstatic intEXCEPTION_INTERNAL_SERVER_ERRORstatic intEXCEPTION_INVALID_ACCESS_TOKENstatic intEXCEPTION_INVALID_ACCESS_TOKEN_EXPIRYstatic intEXCEPTION_INVALID_ACCESS_TOKEN_GRANTstatic intEXCEPTION_INVALID_ACCESS_TOKEN_HEADERstatic intEXCEPTION_INVALID_ACCESS_TOKEN_NOT_VALID_YETstatic intEXCEPTION_INVALID_ISSUER_SUBJECTstatic intEXCEPTION_INVALID_SIGNATUREstatic intEXCEPTION_INVALID_TOKENstatic intEXCEPTION_INVALID_TTLstatic intEXCEPTION_NOT_FOUNDstatic intEXCEPTION_REQUEST_TIMEOUTstatic intEXCEPTION_SERVICE_UNAVAILABLE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()java.lang.StringgetExplanation()Returns the explanation related to the exception.java.lang.StringgetMessage()
-
-
-
Field Detail
-
EXCEPTION_INVALID_ACCESS_TOKEN
public static final int EXCEPTION_INVALID_ACCESS_TOKEN
- See Also:
- Constant Field Values
-
EXCEPTION_INVALID_ACCESS_TOKEN_HEADER
public static final int EXCEPTION_INVALID_ACCESS_TOKEN_HEADER
- See Also:
- Constant Field Values
-
EXCEPTION_INVALID_ISSUER_SUBJECT
public static final int EXCEPTION_INVALID_ISSUER_SUBJECT
- See Also:
- Constant Field Values
-
EXCEPTION_INVALID_ACCESS_TOKEN_EXPIRY
public static final int EXCEPTION_INVALID_ACCESS_TOKEN_EXPIRY
- See Also:
- Constant Field Values
-
EXCEPTION_INVALID_ACCESS_TOKEN_NOT_VALID_YET
public static final int EXCEPTION_INVALID_ACCESS_TOKEN_NOT_VALID_YET
- See Also:
- Constant Field Values
-
EXCEPTION_INVALID_ACCESS_TOKEN_GRANT
public static final int EXCEPTION_INVALID_ACCESS_TOKEN_GRANT
- See Also:
- Constant Field Values
-
EXCEPTION_INVALID_SIGNATURE
public static final int EXCEPTION_INVALID_SIGNATURE
- See Also:
- Constant Field Values
-
EXCEPTION_AUTH_FAILURE
public static final int EXCEPTION_AUTH_FAILURE
- See Also:
- Constant Field Values
-
EXCEPTION_INVALID_TTL
public static final int EXCEPTION_INVALID_TTL
- See Also:
- Constant Field Values
-
EXCEPTION_INVALID_TOKEN
public static final int EXCEPTION_INVALID_TOKEN
- See Also:
- Constant Field Values
-
EXCEPTION_ACCESS_TOKEN_REJECTED
public static final int EXCEPTION_ACCESS_TOKEN_REJECTED
- See Also:
- Constant Field Values
-
EXCEPTION_BAD_REQUEST
public static final int EXCEPTION_BAD_REQUEST
- See Also:
- Constant Field Values
-
EXCEPTION_FORBIDDEN
public static final int EXCEPTION_FORBIDDEN
- See Also:
- Constant Field Values
-
EXCEPTION_NOT_FOUND
public static final int EXCEPTION_NOT_FOUND
- See Also:
- Constant Field Values
-
EXCEPTION_REQUEST_TIMEOUT
public static final int EXCEPTION_REQUEST_TIMEOUT
- See Also:
- Constant Field Values
-
EXCEPTION_INTERNAL_SERVER_ERROR
public static final int EXCEPTION_INTERNAL_SERVER_ERROR
- See Also:
- Constant Field Values
-
EXCEPTION_BAD_GATEWAY
public static final int EXCEPTION_BAD_GATEWAY
- See Also:
- Constant Field Values
-
EXCEPTION_SERVICE_UNAVAILABLE
public static final int EXCEPTION_SERVICE_UNAVAILABLE
- See Also:
- Constant Field Values
-
EXCEPTION_GATEWAY_TIMEOUT
public static final int EXCEPTION_GATEWAY_TIMEOUT
- See Also:
- Constant Field Values
-
-