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:
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AgentDeviceLoginException.Reason
The reasons for agent device login faults
-
Field Summary
Fields Modifier and Type Field Description protected AgentDeviceLoginException.Reason
reason
-
Fields 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
Constructors Constructor Description AgentDeviceLoginException(java.lang.String message, int errorCode, ConnectedAgentDevice connectedAgentDevice)
AgentDeviceLoginException(java.lang.String message, int errorCode, User agent, java.lang.String deviceId)
AgentDeviceLoginException(java.lang.String message, int errorCode, User agent, java.lang.String deviceId, java.lang.Throwable cause)
AgentDeviceLoginException(java.lang.String message, AgentDeviceLoginException.Reason reason, ConnectedAgentDevice connectedAgentDevice)
AgentDeviceLoginException(java.lang.String message, AgentDeviceLoginException.Reason reason, User agent, java.lang.String deviceId)
AgentDeviceLoginException(java.lang.String message, AgentDeviceLoginException.Reason reason, User agent, java.lang.String deviceId, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentDeviceLoginException.Reason
getReason()
java.lang.String
toString()
-
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
-
-
-
-
Field Detail
-
reason
protected final AgentDeviceLoginException.Reason reason
-
-
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 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(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 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(java.lang.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(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 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(java.lang.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(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 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 Detail
-
getReason
public AgentDeviceLoginException.Reason getReason()
- Returns:
- the
AgentDeviceLoginException.Reason
- Since:
- 11.28
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAgentDeviceOperationException
-
-