Class AgentDeviceOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.novomind.ecom.api.iagent.exception.PhoneSystemException
com.novomind.ecom.api.iagent.exception.AgentDeviceOperationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AgentDeviceLoginException
Signals that an exception has occurred during agent device operation.
- Since:
- 11.27
- See Also:
-
Field Summary
FieldsFields inherited from class com.novomind.ecom.api.iagent.exception.PhoneSystemException
errorCode -
Constructor Summary
ConstructorsConstructorDescriptionAgentDeviceOperationException(String message, int errorCode, ConnectedAgentDevice connectedAgentDevice) AgentDeviceOperationException(String message, int errorCode, User agent, String deviceId) AgentDeviceOperationException(String message, int errorCode, User agent, String deviceId, Throwable cause) -
Method Summary
Methods inherited from class com.novomind.ecom.api.iagent.exception.PhoneSystemException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
agent
-
deviceId
-
-
Constructor Details
-
AgentDeviceOperationException
public AgentDeviceOperationException(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- theConnectedAgentDevicethat caused the exception- Since:
- 11.27
-
AgentDeviceOperationException
- 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 thegetAgent()method).deviceId- the id of the device (which is saved for later retrieval by thegetDeviceId()method).- Since:
- 11.27
-
AgentDeviceOperationException
public AgentDeviceOperationException(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 thegetAgent()method).deviceId- the id of the device (which is saved for later retrieval by thegetDeviceId()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 11.27
-
-
Method Details
-
getAgent
- Returns:
- the agent
- Since:
- 11.27
-
getDeviceId
- Returns:
- the deviceId
- Since:
- 11.27
-
toString
- Overrides:
toStringin classPhoneSystemException
-