Class PhoneSystemException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.novomind.ecom.api.iagent.exception.PhoneSystemException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AgentDeviceOperationException
,CallNotFoundException
,CallOperationException
public class PhoneSystemException extends java.lang.Exception
Generic exception to be used for all kinds of errors related to aPhoneSystemConnector
- Since:
- 11.27
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
errorCode
-
Constructor Summary
Constructors Constructor Description PhoneSystemException()
PhoneSystemException(java.lang.String message)
PhoneSystemException(java.lang.String message, int errorCode)
PhoneSystemException(java.lang.String message, int errorCode, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getErrorCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
PhoneSystemException
public PhoneSystemException()
- Since:
- 11.27
-
PhoneSystemException
public PhoneSystemException(java.lang.String message)
- Parameters:
message
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method).- Since:
- 11.27
-
PhoneSystemException
public PhoneSystemException(java.lang.String message, int errorCode)
- 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 thegetErrorCode()
method).- Since:
- 11.27
-
PhoneSystemException
public PhoneSystemException(java.lang.String message, int errorCode, 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 thegetErrorCode()
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
-
-