Class CallOperationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class CallOperationException
    extends PhoneSystemException
    Signals that an exception has occurred during an operation on a call.
    Since:
    11.27
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String callId  
    • Constructor Summary

      Constructors 
      Constructor Description
      CallOperationException​(java.lang.String callId, java.lang.String message, int errorCode)  
      CallOperationException​(java.lang.String callId, java.lang.String message, int errorCode, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCallId()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • callId

        protected final java.lang.String callId
    • Constructor Detail

      • CallOperationException

        public CallOperationException​(java.lang.String callId,
                                      java.lang.String message,
                                      int errorCode)
        Parameters:
        callId - the id of the call (which is saved for later retrieval by the getCallId() method).
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        errorCode - the optional error code of the exception (which is saved for later retrieval by the PhoneSystemException.getErrorCode() method).
        Since:
        11.27
      • CallOperationException

        public CallOperationException​(java.lang.String callId,
                                      java.lang.String message,
                                      int errorCode,
                                      java.lang.Throwable cause)
        Parameters:
        callId - the id of the call (which is saved for later retrieval by the getCallId() method).
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        errorCode - the optional error code of the exception (which is saved for later retrieval by the PhoneSystemException.getErrorCode() method).
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
        Since:
        11.27
    • Method Detail

      • getCallId

        public java.lang.String getCallId()
        Returns:
        the callId
        Since:
        11.27