|
|||||||||
| 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.TelephonyServiceException
com.genesyslab.ail.exception.TelephonyErrorException
public class TelephonyErrorException
Exception thrown when a request to the TServer fails.
| Nested Class Summary | |
|---|---|
static class |
TelephonyErrorException.Type
Constants for the types of telephony error. |
| Constructor Summary | |
|---|---|
TelephonyErrorException(java.lang.String name,
TelephonyErrorException.Type type,
int tserver_type,
java.lang.String tserver_error)
Constructor for this exception. |
|
| Method Summary | |
|---|---|
java.lang.String |
getTServerError()
Returns the TServer type of error as a String. |
int |
getTServerErrorCode()
Returns the TServer type of error. |
TelephonyErrorException.Type |
getType()
Returns the type of error. |
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 TelephonyErrorException(java.lang.String name,
TelephonyErrorException.Type type,
int tserver_type,
java.lang.String tserver_error)
name - the name of the telephony servicetype - the type of errortserver_type - the internal tserver type of error.tserver_error - the internal tserver error as a
String.| Method Detail |
|---|
public TelephonyErrorException.Type getType()
getTServerErrorCode() and getTServerError(), namely if the value is TelephonyErrorException.Type.INTERNAL.
public int getTServerErrorCode()
public java.lang.String getTServerError()
String.
public java.lang.String toString()
toString in class ServiceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||