Class AgentDeviceLoginException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AgentDeviceLoginException
    extends AgentDeviceOperationException
    Signals that an exception has occurred during agent device login procedure.
    Since:
    11.27
    See Also:
    Serialized Form
    • Constructor Detail

      • AgentDeviceLoginException

        public AgentDeviceLoginException​(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 AgentDeviceOperationException.getAgent() method).
        deviceId - the id of the device (which is saved for later retrieval by the AgentDeviceOperationException.getDeviceId() method).
        Since:
        11.27
      • AgentDeviceLoginException

        public AgentDeviceLoginException​(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 AgentDeviceOperationException.getAgent() method).
        deviceId - the id of the device (which is saved for later retrieval by the AgentDeviceOperationException.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
      • AgentDeviceLoginException

        public AgentDeviceLoginException​(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
      • AgentDeviceLoginException

        public AgentDeviceLoginException​(java.lang.String message,
                                         AgentDeviceLoginException.Reason reason,
                                         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).
        reason - the reason for the exception (which is saved for later retrieval by the getReason() method).
        agent - the user that caused the exception (which is saved for later retrieval by the AgentDeviceOperationException.getAgent() method).
        deviceId - the id of the device (which is saved for later retrieval by the AgentDeviceOperationException.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.28
      • AgentDeviceLoginException

        public AgentDeviceLoginException​(java.lang.String message,
                                         AgentDeviceLoginException.Reason reason,
                                         ConnectedAgentDevice connectedAgentDevice)
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        reason - the reason for the exception (which is saved for later retrieval by the getReason() method).
        connectedAgentDevice - the ConnectedAgentDevice that caused the exception
        Since:
        11.28
      • AgentDeviceLoginException

        public AgentDeviceLoginException​(java.lang.String message,
                                         AgentDeviceLoginException.Reason reason,
                                         User agent,
                                         java.lang.String deviceId)
        Parameters:
        message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
        reason - the reason for the exception (which is saved for later retrieval by the getReason() method).
        agent - the user that caused the exception (which is saved for later retrieval by the AgentDeviceOperationException.getAgent() method).
        deviceId - the id of the device (which is saved for later retrieval by the AgentDeviceOperationException.getDeviceId() method).
        Since:
        11.28