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:
java.io.Serializable
public class CallOperationException extends PhoneSystemException
Signals that an exception has occurred during an operation on a call.- Since:
- 11.27
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
callId
-
Fields inherited from class com.novomind.ecom.api.iagent.exception.PhoneSystemException
errorCode
-
-
Constructor Summary
Constructors Constructor Description CallOperationException(java.lang.String callId, java.lang.String message, int errorCode)
CallOperationException(java.lang.String callId, java.lang.String message, int errorCode, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCallId()
java.lang.String
toString()
-
Methods inherited from class com.novomind.ecom.api.iagent.exception.PhoneSystemException
getErrorCode
-
-
-
-
Constructor Detail
-
CallOperationException
public CallOperationException(java.lang.String callId, java.lang.String message, int errorCode)
- 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
public CallOperationException(java.lang.String callId, java.lang.String message, int errorCode, java.lang.Throwable 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). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)- Since:
- 11.27
-
-
Method Detail
-
getCallId
public java.lang.String getCallId()
- Returns:
- the callId
- Since:
- 11.27
-
toString
public java.lang.String toString()
- Overrides:
toString
in classPhoneSystemException
-
-