com.genesyslab.ail.exception
Class TelephonyTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.genesyslab.ail.exception.RequestFailedException
              extended by com.genesyslab.ail.exception.ServiceException
                  extended by com.genesyslab.ail.exception.TelephonyServiceException
                      extended by com.genesyslab.ail.exception.TelephonyTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class TelephonyTimeoutException
extends TelephonyServiceException

Exception thrown when a request to the telephony service times out.

See Also:
Serialized Form

Constructor Summary
TelephonyTimeoutException(java.lang.String name, int timeout)
          Constructor for this exception.
 
Method Summary
 int getTimeout()
          Returns the timeout delay that was overrun.
 
Methods inherited from class com.genesyslab.ail.exception.ServiceException
getName, getStatus, toString
 
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

TelephonyTimeoutException

public TelephonyTimeoutException(java.lang.String name,
                                 int timeout)
Constructor for this exception.

Parameters:
name - the name of the service
timeout - the timeout delay
Method Detail

getTimeout

public int getTimeout()
Returns the timeout delay that was overrun.

Returns:
the timeout delay in seconds.