Class AgentDeviceOperationException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      User getAgent()  
      java.lang.String getDeviceId()  
      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

      • agent

        protected final transient User agent
      • deviceId

        protected final java.lang.String deviceId
    • Constructor Detail

      • AgentDeviceOperationException

        public AgentDeviceOperationException​(java.lang.String message,
                                             int errorCode,
                                             ConnectedAgentDevice connectedAgentDevice)
        Parameters:
        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).
        connectedAgentDevice - the ConnectedAgentDevice that caused the exception
        Since:
        11.27
      • AgentDeviceOperationException

        public AgentDeviceOperationException​(java.lang.String message,
                                             int errorCode,
                                             User agent,
                                             java.lang.String deviceId)
        Parameters:
        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).
        agent - the user that caused the exception (which is saved for later retrieval by the getAgent() method).
        deviceId - the id of the device (which is saved for later retrieval by the getDeviceId() method).
        Since:
        11.27
      • AgentDeviceOperationException

        public AgentDeviceOperationException​(java.lang.String message,
                                             int errorCode,
                                             User agent,
                                             java.lang.String deviceId,
                                             java.lang.Throwable cause)
        Parameters:
        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).
        agent - the user that caused the exception (which is saved for later retrieval by the getAgent() method).
        deviceId - the id of the device (which is saved for later retrieval by the getDeviceId() 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

      • getAgent

        public User getAgent()
        Returns:
        the agent
        Since:
        11.27
      • getDeviceId

        public java.lang.String getDeviceId()
        Returns:
        the deviceId
        Since:
        11.27