com.genesyslab.ail.exception
Class ConfigTimeoutException

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.ConfigServiceException
                      extended by com.genesyslab.ail.exception.ConfigTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class ConfigTimeoutException
extends ConfigServiceException

Exception thrown when a request to the Configuration Layer times out.

See Also:
Serialized Form

Constructor Summary
ConfigTimeoutException(java.lang.String name, int timeout)
          Constructor for this exception.
 
Method Summary
 int getTimeout()
          Returns the timeout delay that was reached.
 
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

ConfigTimeoutException

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

Parameters:
name - the name of the service.
timeout - the timeout delay in seconds.
Method Detail

getTimeout

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

Returns:
the timeout delay in seconds.