Class VoiceException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CallException, RegistrationException

public class VoiceException extends Exception
A parent class of all Voice exceptions.
See Also:
  • Field Details

    • EXCEPTION_INVALID_ACCESS_TOKEN

      public static final int EXCEPTION_INVALID_ACCESS_TOKEN
      See Also:
    • EXCEPTION_INVALID_ACCESS_TOKEN_HEADER

      public static final int EXCEPTION_INVALID_ACCESS_TOKEN_HEADER
      See Also:
    • EXCEPTION_INVALID_ISSUER_SUBJECT

      public static final int EXCEPTION_INVALID_ISSUER_SUBJECT
      See Also:
    • EXCEPTION_INVALID_ACCESS_TOKEN_EXPIRY

      public static final int EXCEPTION_INVALID_ACCESS_TOKEN_EXPIRY
      See Also:
    • EXCEPTION_INVALID_ACCESS_TOKEN_NOT_VALID_YET

      public static final int EXCEPTION_INVALID_ACCESS_TOKEN_NOT_VALID_YET
      See Also:
    • EXCEPTION_INVALID_ACCESS_TOKEN_GRANT

      public static final int EXCEPTION_INVALID_ACCESS_TOKEN_GRANT
      See Also:
    • EXCEPTION_INVALID_SIGNATURE

      public static final int EXCEPTION_INVALID_SIGNATURE
      See Also:
    • EXCEPTION_AUTH_FAILURE

      public static final int EXCEPTION_AUTH_FAILURE
      See Also:
    • EXCEPTION_INVALID_TTL

      public static final int EXCEPTION_INVALID_TTL
      See Also:
    • EXCEPTION_INVALID_TOKEN

      public static final int EXCEPTION_INVALID_TOKEN
      See Also:
    • EXCEPTION_ACCESS_TOKEN_REJECTED

      public static final int EXCEPTION_ACCESS_TOKEN_REJECTED
      See Also:
    • EXCEPTION_BAD_REQUEST

      public static final int EXCEPTION_BAD_REQUEST
      See Also:
    • EXCEPTION_FORBIDDEN

      public static final int EXCEPTION_FORBIDDEN
      See Also:
    • EXCEPTION_NOT_FOUND

      public static final int EXCEPTION_NOT_FOUND
      See Also:
    • EXCEPTION_REQUEST_TIMEOUT

      public static final int EXCEPTION_REQUEST_TIMEOUT
      See Also:
    • EXCEPTION_INTERNAL_SERVER_ERROR

      public static final int EXCEPTION_INTERNAL_SERVER_ERROR
      See Also:
    • EXCEPTION_BAD_GATEWAY

      public static final int EXCEPTION_BAD_GATEWAY
      See Also:
    • EXCEPTION_SERVICE_UNAVAILABLE

      public static final int EXCEPTION_SERVICE_UNAVAILABLE
      See Also:
    • EXCEPTION_GATEWAY_TIMEOUT

      public static final int EXCEPTION_GATEWAY_TIMEOUT
      See Also:
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getErrorCode

      public int getErrorCode()
    • getExplanation

      public String getExplanation()
      Returns the explanation related to the exception. This value may be null in some cases.