|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.genesyslab.ail.exception.RequestFailedException
com.genesyslab.ail.exception.ServiceException
com.genesyslab.ail.exception.IsServiceException
com.genesyslab.ail.exception.IsErrorException
public class IsErrorException
Exception thrown when a request to the telephony service fails.
| Nested Class Summary | |
|---|---|
static class |
IsErrorException.Type
Constants for interaction statuses, common for all media. |
| Constructor Summary | |
|---|---|
IsErrorException(java.lang.String name,
ServiceStatus.Status status,
int errorCode,
java.lang.String error)
Constructor for this exception. |
|
| Method Summary | |
|---|---|
java.lang.String |
getError()
Returns a String representation of the error that has occurred. |
int |
getErrorCode()
Returns the code of the error that has occurred. |
IsErrorException.Type |
getErrorType()
Returns the type of error that has occurred. |
java.lang.String |
toString()
Returns a String representation of this
Exception. |
| Methods inherited from class com.genesyslab.ail.exception.ServiceException |
|---|
getName, getStatus |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IsErrorException(java.lang.String name,
ServiceStatus.Status status,
int errorCode,
java.lang.String error)
name - The name of the service.status - The status of the serviceerror - The error that has occurred| Method Detail |
|---|
public java.lang.String getError()
public int getErrorCode()
public IsErrorException.Type getErrorType()
public java.lang.String toString()
String representation of this
Exception.
toString in class ServiceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||