Class AgentDeviceLoginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.novomind.ecom.api.iagent.exception.PhoneSystemException
com.novomind.ecom.api.iagent.exception.AgentDeviceOperationException
com.novomind.ecom.api.iagent.exception.AgentDeviceLoginException
- All Implemented Interfaces:
Serializable
Signals that an exception has occurred during agent device login procedure.
- Since:
- 11.27
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The reasons for agent device login faults -
Field Summary
FieldsFields inherited from class com.novomind.ecom.api.iagent.exception.AgentDeviceOperationException
agent, deviceId
Fields inherited from class com.novomind.ecom.api.iagent.exception.PhoneSystemException
errorCode
-
Constructor Summary
ConstructorsConstructorDescriptionAgentDeviceLoginException
(String message, int errorCode, ConnectedAgentDevice connectedAgentDevice) AgentDeviceLoginException
(String message, int errorCode, User agent, String deviceId) AgentDeviceLoginException
(String message, int errorCode, User agent, String deviceId, Throwable cause) AgentDeviceLoginException
(String message, AgentDeviceLoginException.Reason reason, ConnectedAgentDevice connectedAgentDevice) AgentDeviceLoginException
(String message, AgentDeviceLoginException.Reason reason, User agent, String deviceId) AgentDeviceLoginException
(String message, AgentDeviceLoginException.Reason reason, User agent, String deviceId, Throwable cause) -
Method Summary
Methods inherited from class com.novomind.ecom.api.iagent.exception.AgentDeviceOperationException
getAgent, getDeviceId
Methods inherited from class com.novomind.ecom.api.iagent.exception.PhoneSystemException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
reason
-
-
Constructor Details
-
AgentDeviceLoginException
- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).errorCode
- the optional error code of the exception (which is saved for later retrieval by thePhoneSystemException.getErrorCode()
method).agent
- the user that caused the exception (which is saved for later retrieval by theAgentDeviceOperationException.getAgent()
method).deviceId
- the id of the device (which is saved for later retrieval by theAgentDeviceOperationException.getDeviceId()
method).- Since:
- 11.27
-
AgentDeviceLoginException
public AgentDeviceLoginException(String message, int errorCode, User agent, String deviceId, Throwable cause) - Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).errorCode
- the optional error code of the exception (which is saved for later retrieval by thePhoneSystemException.getErrorCode()
method).agent
- the user that caused the exception (which is saved for later retrieval by theAgentDeviceOperationException.getAgent()
method).deviceId
- the id of the device (which is saved for later retrieval by theAgentDeviceOperationException.getDeviceId()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 11.27
-
AgentDeviceLoginException
public AgentDeviceLoginException(String message, int errorCode, ConnectedAgentDevice connectedAgentDevice) - Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).errorCode
- the optional error code of the exception (which is saved for later retrieval by thePhoneSystemException.getErrorCode()
method).connectedAgentDevice
- theConnectedAgentDevice
that caused the exception- Since:
- 11.27
-
AgentDeviceLoginException
public AgentDeviceLoginException(String message, AgentDeviceLoginException.Reason reason, User agent, String deviceId, Throwable cause) - Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).reason
- the reason for the exception (which is saved for later retrieval by thegetReason()
method).agent
- the user that caused the exception (which is saved for later retrieval by theAgentDeviceOperationException.getAgent()
method).deviceId
- the id of the device (which is saved for later retrieval by theAgentDeviceOperationException.getDeviceId()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 11.28
-
AgentDeviceLoginException
public AgentDeviceLoginException(String message, AgentDeviceLoginException.Reason reason, ConnectedAgentDevice connectedAgentDevice) - Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).reason
- the reason for the exception (which is saved for later retrieval by thegetReason()
method).connectedAgentDevice
- theConnectedAgentDevice
that caused the exception- Since:
- 11.28
-
AgentDeviceLoginException
public AgentDeviceLoginException(String message, AgentDeviceLoginException.Reason reason, User agent, String deviceId) - Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).reason
- the reason for the exception (which is saved for later retrieval by thegetReason()
method).agent
- the user that caused the exception (which is saved for later retrieval by theAgentDeviceOperationException.getAgent()
method).deviceId
- the id of the device (which is saved for later retrieval by theAgentDeviceOperationException.getDeviceId()
method).- Since:
- 11.28
-
-
Method Details
-
getReason
- Returns:
- the
AgentDeviceLoginException.Reason
- Since:
- 11.28
-
toString
- Overrides:
toString
in classAgentDeviceOperationException
-