Class CallOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.novomind.ecom.api.iagent.exception.PhoneSystemException
com.novomind.ecom.api.iagent.exception.CallOperationException
- All Implemented Interfaces:
Serializable
Signals that an exception has occurred during an operation on a call.
- Since:
- 11.27
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringthe id of the call on which the operation failedFields inherited from class com.novomind.ecom.api.iagent.exception.PhoneSystemException
errorCode -
Constructor Summary
ConstructorsConstructorDescriptionCallOperationException(String callId, String message, int errorCode) Constructs a newCallOperationExceptionwith the specified call id, detail message and error code.CallOperationException(String callId, String message, int errorCode, Throwable cause) Constructs a newCallOperationExceptionwith the specified call id, detail message, error code and 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
-
callId
the id of the call on which the operation failed
-
-
Constructor Details
-
CallOperationException
Constructs a newCallOperationExceptionwith the specified call id, detail message and error code.- Parameters:
callId- the id of the call (which is saved for later retrieval by thegetCallId()method).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).- Since:
- 11.27
-
CallOperationException
Constructs a newCallOperationExceptionwith the specified call id, detail message, error code and cause.- Parameters:
callId- the id of the call (which is saved for later retrieval by thegetCallId()method).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).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
-
getCallId
Returns the callId.- Returns:
- the callId
- Since:
- 11.27
-
toString
- Overrides:
toStringin classPhoneSystemException
-