Class TwilioException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    Camera2Capturer.Exception

    public class TwilioException
    extends java.lang.Exception
    Twilio Video SDK Exception
    See Also:
    Serialized Form
    • Field Detail

      • ACCESS_TOKEN_INVALID_EXCEPTION

        public static final int ACCESS_TOKEN_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • ACCESS_TOKEN_HEADER_INVALID_EXCEPTION

        public static final int ACCESS_TOKEN_HEADER_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • ACCESS_TOKEN_ISSUER_INVALID_EXCEPTION

        public static final int ACCESS_TOKEN_ISSUER_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • ACCESS_TOKEN_EXPIRED_EXCEPTION

        public static final int ACCESS_TOKEN_EXPIRED_EXCEPTION
        See Also:
        Constant Field Values
      • ACCESS_TOKEN_NOT_YET_VALID_EXCEPTION

        public static final int ACCESS_TOKEN_NOT_YET_VALID_EXCEPTION
        See Also:
        Constant Field Values
      • ACCESS_TOKEN_GRANTS_INVALID_EXCEPTION

        public static final int ACCESS_TOKEN_GRANTS_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • ACCESS_TOKEN_SIGNATURE_INVALID_EXCEPTION

        public static final int ACCESS_TOKEN_SIGNATURE_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • SIGNALING_CONNECTION_ERROR_EXCEPTION

        public static final int SIGNALING_CONNECTION_ERROR_EXCEPTION
        See Also:
        Constant Field Values
      • SIGNALING_CONNECTION_DISCONNECTED_EXCEPTION

        public static final int SIGNALING_CONNECTION_DISCONNECTED_EXCEPTION
        See Also:
        Constant Field Values
      • SIGNALING_CONNECTION_TIMEOUT_EXCEPTION

        public static final int SIGNALING_CONNECTION_TIMEOUT_EXCEPTION
        See Also:
        Constant Field Values
      • SIGNALING_INCOMING_MESSAGE_INVALID_EXCEPTION

        public static final int SIGNALING_INCOMING_MESSAGE_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • SIGNALING_OUTGOING_MESSAGE_INVALID_EXCEPTION

        public static final int SIGNALING_OUTGOING_MESSAGE_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • SIGNALING_DNS_RESOLUTION_ERROR_EXCEPTION

        public static final int SIGNALING_DNS_RESOLUTION_ERROR_EXCEPTION
        See Also:
        Constant Field Values
      • SIGNALING_SERVER_BUSY_EXCEPTION

        public static final int SIGNALING_SERVER_BUSY_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_NAME_INVALID_EXCEPTION

        public static final int ROOM_NAME_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_NAME_TOO_LONG_EXCEPTION

        public static final int ROOM_NAME_TOO_LONG_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_NAME_CHARS_INVALID_EXCEPTION

        public static final int ROOM_NAME_CHARS_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_CREATE_FAILED_EXCEPTION

        public static final int ROOM_CREATE_FAILED_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_CONNECT_FAILED_EXCEPTION

        public static final int ROOM_CONNECT_FAILED_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_MAX_PARTICIPANTS_EXCEEDED_EXCEPTION

        public static final int ROOM_MAX_PARTICIPANTS_EXCEEDED_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_NOT_FOUND_EXCEPTION

        public static final int ROOM_NOT_FOUND_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_MAX_PARTICIPANTS_OUT_OF_RANGE_EXCEPTION

        public static final int ROOM_MAX_PARTICIPANTS_OUT_OF_RANGE_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_TYPE_INVALID_EXCEPTION

        public static final int ROOM_TYPE_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_TIMEOUT_OUT_OF_RANGE_EXCEPTION

        public static final int ROOM_TIMEOUT_OUT_OF_RANGE_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_STATUS_CALLBACK_METHOD_INVALID_EXCEPTION

        public static final int ROOM_STATUS_CALLBACK_METHOD_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_STATUS_CALLBACK_INVALID_EXCEPTION

        public static final int ROOM_STATUS_CALLBACK_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_STATUS_INVALID_EXCEPTION

        public static final int ROOM_STATUS_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_ROOM_EXISTS_EXCEPTION

        public static final int ROOM_ROOM_EXISTS_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_INVALID_PARAMETERS_EXCEPTION

        public static final int ROOM_INVALID_PARAMETERS_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_MEDIA_REGION_INVALID_EXCEPTION

        public static final int ROOM_MEDIA_REGION_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_MEDIA_REGION_UNAVAILABLE_EXCEPTION

        public static final int ROOM_MEDIA_REGION_UNAVAILABLE_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_SUBSCRIPTION_OPERATION_NOT_SUPPORTED_EXCEPTION

        public static final int ROOM_SUBSCRIPTION_OPERATION_NOT_SUPPORTED_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_ROOM_COMPLETED_EXCEPTION

        public static final int ROOM_ROOM_COMPLETED_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION

        public static final int ROOM_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_INVALID_RECORDING_RULE_EXCEPTION

        public static final int ROOM_INVALID_RECORDING_RULE_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_RECORDING_OPERATION_NOT_SUPPORTED_EXCEPTION

        public static final int ROOM_RECORDING_OPERATION_NOT_SUPPORTED_EXCEPTION
        See Also:
        Constant Field Values
      • ROOM_AUDIO_ONLY_FLAG_NOT_SUPPORTED_EXCEPTION

        public static final int ROOM_AUDIO_ONLY_FLAG_NOT_SUPPORTED_EXCEPTION
        See Also:
        Constant Field Values
      • TRACK_TRACK_KIND_NOT_SUPPORTED_EXCEPTION

        public static final int TRACK_TRACK_KIND_NOT_SUPPORTED_EXCEPTION
        See Also:
        Constant Field Values
      • PARTICIPANT_IDENTITY_INVALID_EXCEPTION

        public static final int PARTICIPANT_IDENTITY_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • PARTICIPANT_IDENTITY_TOO_LONG_EXCEPTION

        public static final int PARTICIPANT_IDENTITY_TOO_LONG_EXCEPTION
        See Also:
        Constant Field Values
      • PARTICIPANT_IDENTITY_CHARS_INVALID_EXCEPTION

        public static final int PARTICIPANT_IDENTITY_CHARS_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • PARTICIPANT_MAX_TRACKS_EXCEEDED_EXCEPTION

        public static final int PARTICIPANT_MAX_TRACKS_EXCEEDED_EXCEPTION
        See Also:
        Constant Field Values
      • PARTICIPANT_NOT_FOUND_EXCEPTION

        public static final int PARTICIPANT_NOT_FOUND_EXCEPTION
        See Also:
        Constant Field Values
      • PARTICIPANT_DUPLICATE_IDENTITY_EXCEPTION

        public static final int PARTICIPANT_DUPLICATE_IDENTITY_EXCEPTION
        See Also:
        Constant Field Values
      • PARTICIPANT_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION

        public static final int PARTICIPANT_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION
        See Also:
        Constant Field Values
      • PARTICIPANT_MAX_PUBLISHED_TRACKS_OUT_OF_RANGE_EXCEPTION

        public static final int PARTICIPANT_MAX_PUBLISHED_TRACKS_OUT_OF_RANGE_EXCEPTION
        See Also:
        Constant Field Values
      • PARTICIPANT_INVALID_SUBSCRIBE_RULE_EXCEPTION

        public static final int PARTICIPANT_INVALID_SUBSCRIBE_RULE_EXCEPTION
        See Also:
        Constant Field Values
      • PARTICIPANT_SESSION_LENGTH_EXCEEDED_EXCEPTION

        public static final int PARTICIPANT_SESSION_LENGTH_EXCEEDED_EXCEPTION
        See Also:
        Constant Field Values
      • TRACK_INVALID_EXCEPTION

        public static final int TRACK_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • TRACK_NAME_INVALID_EXCEPTION

        public static final int TRACK_NAME_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • TRACK_NAME_TOO_LONG_EXCEPTION

        public static final int TRACK_NAME_TOO_LONG_EXCEPTION
        See Also:
        Constant Field Values
      • TRACK_NAME_CHARS_INVALID_EXCEPTION

        public static final int TRACK_NAME_CHARS_INVALID_EXCEPTION
        See Also:
        Constant Field Values
      • TRACK_NAME_IS_DUPLICATED_EXCEPTION

        public static final int TRACK_NAME_IS_DUPLICATED_EXCEPTION
        See Also:
        Constant Field Values
      • TRACK_SERVER_TRACK_CAPACITY_REACHED_EXCEPTION

        public static final int TRACK_SERVER_TRACK_CAPACITY_REACHED_EXCEPTION
        See Also:
        Constant Field Values
      • TRACK_DATA_TRACK_MESSAGE_TOO_LARGE_EXCEPTION

        public static final int TRACK_DATA_TRACK_MESSAGE_TOO_LARGE_EXCEPTION
        See Also:
        Constant Field Values
      • TRACK_DATA_TRACK_SEND_BUFFER_FULL_EXCEPTION

        public static final int TRACK_DATA_TRACK_SEND_BUFFER_FULL_EXCEPTION
        See Also:
        Constant Field Values
      • MEDIA_CLIENT_LOCAL_DESC_FAILED_EXCEPTION

        public static final int MEDIA_CLIENT_LOCAL_DESC_FAILED_EXCEPTION
        See Also:
        Constant Field Values
      • MEDIA_SERVER_LOCAL_DESC_FAILED_EXCEPTION

        public static final int MEDIA_SERVER_LOCAL_DESC_FAILED_EXCEPTION
        See Also:
        Constant Field Values
      • MEDIA_CLIENT_REMOTE_DESC_FAILED_EXCEPTION

        public static final int MEDIA_CLIENT_REMOTE_DESC_FAILED_EXCEPTION
        See Also:
        Constant Field Values
      • MEDIA_SERVER_REMOTE_DESC_FAILED_EXCEPTION

        public static final int MEDIA_SERVER_REMOTE_DESC_FAILED_EXCEPTION
        See Also:
        Constant Field Values
      • MEDIA_NO_SUPPORTED_CODEC_EXCEPTION

        public static final int MEDIA_NO_SUPPORTED_CODEC_EXCEPTION
        See Also:
        Constant Field Values
      • MEDIA_CONNECTION_ERROR_EXCEPTION

        public static final int MEDIA_CONNECTION_ERROR_EXCEPTION
        See Also:
        Constant Field Values
      • MEDIA_DATA_TRACK_FAILED_EXCEPTION

        public static final int MEDIA_DATA_TRACK_FAILED_EXCEPTION
        See Also:
        Constant Field Values
      • MEDIA_DTLS_TRANSPORT_FAILED_EXCEPTION

        public static final int MEDIA_DTLS_TRANSPORT_FAILED_EXCEPTION
        See Also:
        Constant Field Values
      • MEDIA_ICE_RESTART_NOT_ALLOWED_EXCEPTION

        public static final int MEDIA_ICE_RESTART_NOT_ALLOWED_EXCEPTION
        See Also:
        Constant Field Values
      • CONFIGURATION_ACQUIRE_FAILED_EXCEPTION

        public static final int CONFIGURATION_ACQUIRE_FAILED_EXCEPTION
        See Also:
        Constant Field Values
      • CONFIGURATION_ACQUIRE_TURN_FAILED_EXCEPTION

        public static final int CONFIGURATION_ACQUIRE_TURN_FAILED_EXCEPTION
        See Also:
        Constant Field Values
    • Method Detail

      • getCode

        public int getCode()
      • getExplanation

        @Nullable
        public java.lang.String getExplanation()