Class TwilioException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.twilio.video.TwilioException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Camera2Capturer.Exception

public class TwilioException extends Exception
Twilio Video SDK Exception
See Also:
  • Field Details

    • ACCESS_TOKEN_INVALID_EXCEPTION

      public static final int ACCESS_TOKEN_INVALID_EXCEPTION
      See Also:
    • ACCESS_TOKEN_HEADER_INVALID_EXCEPTION

      public static final int ACCESS_TOKEN_HEADER_INVALID_EXCEPTION
      See Also:
    • ACCESS_TOKEN_ISSUER_INVALID_EXCEPTION

      public static final int ACCESS_TOKEN_ISSUER_INVALID_EXCEPTION
      See Also:
    • ACCESS_TOKEN_EXPIRED_EXCEPTION

      public static final int ACCESS_TOKEN_EXPIRED_EXCEPTION
      See Also:
    • ACCESS_TOKEN_NOT_YET_VALID_EXCEPTION

      public static final int ACCESS_TOKEN_NOT_YET_VALID_EXCEPTION
      See Also:
    • ACCESS_TOKEN_GRANTS_INVALID_EXCEPTION

      public static final int ACCESS_TOKEN_GRANTS_INVALID_EXCEPTION
      See Also:
    • ACCESS_TOKEN_SIGNATURE_INVALID_EXCEPTION

      public static final int ACCESS_TOKEN_SIGNATURE_INVALID_EXCEPTION
      See Also:
    • SIGNALING_CONNECTION_ERROR_EXCEPTION

      public static final int SIGNALING_CONNECTION_ERROR_EXCEPTION
      See Also:
    • SIGNALING_CONNECTION_DISCONNECTED_EXCEPTION

      public static final int SIGNALING_CONNECTION_DISCONNECTED_EXCEPTION
      See Also:
    • SIGNALING_CONNECTION_TIMEOUT_EXCEPTION

      public static final int SIGNALING_CONNECTION_TIMEOUT_EXCEPTION
      See Also:
    • SIGNALING_INCOMING_MESSAGE_INVALID_EXCEPTION

      public static final int SIGNALING_INCOMING_MESSAGE_INVALID_EXCEPTION
      See Also:
    • SIGNALING_OUTGOING_MESSAGE_INVALID_EXCEPTION

      public static final int SIGNALING_OUTGOING_MESSAGE_INVALID_EXCEPTION
      See Also:
    • SIGNALING_DNS_RESOLUTION_ERROR_EXCEPTION

      public static final int SIGNALING_DNS_RESOLUTION_ERROR_EXCEPTION
      See Also:
    • SIGNALING_SERVER_BUSY_EXCEPTION

      public static final int SIGNALING_SERVER_BUSY_EXCEPTION
      See Also:
    • ROOM_NAME_INVALID_EXCEPTION

      public static final int ROOM_NAME_INVALID_EXCEPTION
      See Also:
    • ROOM_NAME_TOO_LONG_EXCEPTION

      public static final int ROOM_NAME_TOO_LONG_EXCEPTION
      See Also:
    • ROOM_NAME_CHARS_INVALID_EXCEPTION

      public static final int ROOM_NAME_CHARS_INVALID_EXCEPTION
      See Also:
    • ROOM_CREATE_FAILED_EXCEPTION

      public static final int ROOM_CREATE_FAILED_EXCEPTION
      See Also:
    • ROOM_CONNECT_FAILED_EXCEPTION

      public static final int ROOM_CONNECT_FAILED_EXCEPTION
      See Also:
    • ROOM_MAX_PARTICIPANTS_EXCEEDED_EXCEPTION

      public static final int ROOM_MAX_PARTICIPANTS_EXCEEDED_EXCEPTION
      See Also:
    • ROOM_NOT_FOUND_EXCEPTION

      public static final int ROOM_NOT_FOUND_EXCEPTION
      See Also:
    • ROOM_MAX_PARTICIPANTS_OUT_OF_RANGE_EXCEPTION

      public static final int ROOM_MAX_PARTICIPANTS_OUT_OF_RANGE_EXCEPTION
      See Also:
    • ROOM_TYPE_INVALID_EXCEPTION

      public static final int ROOM_TYPE_INVALID_EXCEPTION
      See Also:
    • ROOM_TIMEOUT_OUT_OF_RANGE_EXCEPTION

      public static final int ROOM_TIMEOUT_OUT_OF_RANGE_EXCEPTION
      See Also:
    • ROOM_STATUS_CALLBACK_METHOD_INVALID_EXCEPTION

      public static final int ROOM_STATUS_CALLBACK_METHOD_INVALID_EXCEPTION
      See Also:
    • ROOM_STATUS_CALLBACK_INVALID_EXCEPTION

      public static final int ROOM_STATUS_CALLBACK_INVALID_EXCEPTION
      See Also:
    • ROOM_STATUS_INVALID_EXCEPTION

      public static final int ROOM_STATUS_INVALID_EXCEPTION
      See Also:
    • ROOM_ROOM_EXISTS_EXCEPTION

      public static final int ROOM_ROOM_EXISTS_EXCEPTION
      See Also:
    • ROOM_INVALID_PARAMETERS_EXCEPTION

      public static final int ROOM_INVALID_PARAMETERS_EXCEPTION
      See Also:
    • ROOM_MEDIA_REGION_INVALID_EXCEPTION

      public static final int ROOM_MEDIA_REGION_INVALID_EXCEPTION
      See Also:
    • ROOM_MEDIA_REGION_UNAVAILABLE_EXCEPTION

      public static final int ROOM_MEDIA_REGION_UNAVAILABLE_EXCEPTION
      See Also:
    • ROOM_SUBSCRIPTION_OPERATION_NOT_SUPPORTED_EXCEPTION

      public static final int ROOM_SUBSCRIPTION_OPERATION_NOT_SUPPORTED_EXCEPTION
      See Also:
    • ROOM_ROOM_COMPLETED_EXCEPTION

      public static final int ROOM_ROOM_COMPLETED_EXCEPTION
      See Also:
    • ROOM_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION

      public static final int ROOM_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION
      See Also:
    • ROOM_INVALID_RECORDING_RULE_EXCEPTION

      public static final int ROOM_INVALID_RECORDING_RULE_EXCEPTION
      See Also:
    • ROOM_RECORDING_OPERATION_NOT_SUPPORTED_EXCEPTION

      public static final int ROOM_RECORDING_OPERATION_NOT_SUPPORTED_EXCEPTION
      See Also:
    • ROOM_AUDIO_ONLY_FLAG_NOT_SUPPORTED_EXCEPTION

      public static final int ROOM_AUDIO_ONLY_FLAG_NOT_SUPPORTED_EXCEPTION
      See Also:
    • TRACK_TRACK_KIND_NOT_SUPPORTED_EXCEPTION

      public static final int TRACK_TRACK_KIND_NOT_SUPPORTED_EXCEPTION
      See Also:
    • PARTICIPANT_IDENTITY_INVALID_EXCEPTION

      public static final int PARTICIPANT_IDENTITY_INVALID_EXCEPTION
      See Also:
    • PARTICIPANT_IDENTITY_TOO_LONG_EXCEPTION

      public static final int PARTICIPANT_IDENTITY_TOO_LONG_EXCEPTION
      See Also:
    • PARTICIPANT_IDENTITY_CHARS_INVALID_EXCEPTION

      public static final int PARTICIPANT_IDENTITY_CHARS_INVALID_EXCEPTION
      See Also:
    • PARTICIPANT_MAX_TRACKS_EXCEEDED_EXCEPTION

      public static final int PARTICIPANT_MAX_TRACKS_EXCEEDED_EXCEPTION
      See Also:
    • PARTICIPANT_NOT_FOUND_EXCEPTION

      public static final int PARTICIPANT_NOT_FOUND_EXCEPTION
      See Also:
    • PARTICIPANT_DUPLICATE_IDENTITY_EXCEPTION

      public static final int PARTICIPANT_DUPLICATE_IDENTITY_EXCEPTION
      See Also:
    • PARTICIPANT_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION

      public static final int PARTICIPANT_ACCOUNT_LIMIT_EXCEEDED_EXCEPTION
      See Also:
    • PARTICIPANT_MAX_PUBLISHED_TRACKS_OUT_OF_RANGE_EXCEPTION

      public static final int PARTICIPANT_MAX_PUBLISHED_TRACKS_OUT_OF_RANGE_EXCEPTION
      See Also:
    • PARTICIPANT_INVALID_SUBSCRIBE_RULE_EXCEPTION

      public static final int PARTICIPANT_INVALID_SUBSCRIBE_RULE_EXCEPTION
      See Also:
    • PARTICIPANT_SESSION_LENGTH_EXCEEDED_EXCEPTION

      public static final int PARTICIPANT_SESSION_LENGTH_EXCEEDED_EXCEPTION
      See Also:
    • TRACK_INVALID_EXCEPTION

      public static final int TRACK_INVALID_EXCEPTION
      See Also:
    • TRACK_NAME_INVALID_EXCEPTION

      public static final int TRACK_NAME_INVALID_EXCEPTION
      See Also:
    • TRACK_NAME_TOO_LONG_EXCEPTION

      public static final int TRACK_NAME_TOO_LONG_EXCEPTION
      See Also:
    • TRACK_NAME_CHARS_INVALID_EXCEPTION

      public static final int TRACK_NAME_CHARS_INVALID_EXCEPTION
      See Also:
    • TRACK_NAME_IS_DUPLICATED_EXCEPTION

      public static final int TRACK_NAME_IS_DUPLICATED_EXCEPTION
      See Also:
    • TRACK_SERVER_TRACK_CAPACITY_REACHED_EXCEPTION

      public static final int TRACK_SERVER_TRACK_CAPACITY_REACHED_EXCEPTION
      See Also:
    • TRACK_DATA_TRACK_MESSAGE_TOO_LARGE_EXCEPTION

      public static final int TRACK_DATA_TRACK_MESSAGE_TOO_LARGE_EXCEPTION
      See Also:
    • TRACK_DATA_TRACK_SEND_BUFFER_FULL_EXCEPTION

      public static final int TRACK_DATA_TRACK_SEND_BUFFER_FULL_EXCEPTION
      See Also:
    • MEDIA_CLIENT_LOCAL_DESC_FAILED_EXCEPTION

      public static final int MEDIA_CLIENT_LOCAL_DESC_FAILED_EXCEPTION
      See Also:
    • MEDIA_SERVER_LOCAL_DESC_FAILED_EXCEPTION

      public static final int MEDIA_SERVER_LOCAL_DESC_FAILED_EXCEPTION
      See Also:
    • MEDIA_CLIENT_REMOTE_DESC_FAILED_EXCEPTION

      public static final int MEDIA_CLIENT_REMOTE_DESC_FAILED_EXCEPTION
      See Also:
    • MEDIA_SERVER_REMOTE_DESC_FAILED_EXCEPTION

      public static final int MEDIA_SERVER_REMOTE_DESC_FAILED_EXCEPTION
      See Also:
    • MEDIA_NO_SUPPORTED_CODEC_EXCEPTION

      public static final int MEDIA_NO_SUPPORTED_CODEC_EXCEPTION
      See Also:
    • MEDIA_CONNECTION_ERROR_EXCEPTION

      public static final int MEDIA_CONNECTION_ERROR_EXCEPTION
      See Also:
    • MEDIA_DATA_TRACK_FAILED_EXCEPTION

      public static final int MEDIA_DATA_TRACK_FAILED_EXCEPTION
      See Also:
    • MEDIA_DTLS_TRANSPORT_FAILED_EXCEPTION

      public static final int MEDIA_DTLS_TRANSPORT_FAILED_EXCEPTION
      See Also:
    • MEDIA_ICE_RESTART_NOT_ALLOWED_EXCEPTION

      public static final int MEDIA_ICE_RESTART_NOT_ALLOWED_EXCEPTION
      See Also:
    • CONFIGURATION_ACQUIRE_FAILED_EXCEPTION

      public static final int CONFIGURATION_ACQUIRE_FAILED_EXCEPTION
      See Also:
    • CONFIGURATION_ACQUIRE_TURN_FAILED_EXCEPTION

      public static final int CONFIGURATION_ACQUIRE_TURN_FAILED_EXCEPTION
      See Also:
  • Method Details

    • getCode

      public int getCode()
    • getExplanation

      @Nullable public String getExplanation()