Class ContactException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ContactException
    extends java.lang.Exception
    Exception representing contact related failure
    See Also:
    Serialized Form
    • Constructor Detail

      • ContactException

        public ContactException​(ContactError error)
      • ContactException

        public ContactException​(ContactError error,
                                int protocolErrorCode,
                                java.lang.String protocolErrorReason)
      • ContactException

        public ContactException​(java.lang.String detailMessage,
                                ContactError error,
                                int protocolErrorCode,
                                java.lang.String protocolErrorReason)
    • Method Detail

      • getError

        public ContactError getError()
        Returns:
        contact error type.
      • getProtocolErrorCode

        public int getProtocolErrorCode()
        Returns:
        the error code from the underlying signaling protocol.
      • getProtocolErrorReason

        public java.lang.String getProtocolErrorReason()
        Returns:
        the error reason string from the underlying signaling protocol.