|
|||||||||
| 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.OutboundServiceException
public class OutboundServiceException
Exception thrown when the outbound request returned an error. The underlying Telephony Server is up and running.
| Nested Class Summary | |
|---|---|
static class |
OutboundServiceException.Type
Outbound error types. |
| Constructor Summary | |
|---|---|
OutboundServiceException(java.lang.String name,
int error_code)
Constructor for this exception. |
|
OutboundServiceException(java.lang.String name,
OutboundServiceException.Type type)
Constructor for this exception. |
|
| Method Summary | |
|---|---|
OutboundServiceException.Type |
getType()
Returns the type of the error that has occurred. |
java.lang.String |
toString()
Returns a String representation of this error. |
| 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 OutboundServiceException(java.lang.String name,
int error_code)
name - the name of the outbound serviceerror_code - the internal error code
public OutboundServiceException(java.lang.String name,
OutboundServiceException.Type type)
name - the name of the outbound servicetype - the type of the exception| Method Detail |
|---|
public OutboundServiceException.Type getType()
public java.lang.String toString()
String representation of this error.
toString in class ServiceExceptionString representing this error.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||