com.genesyslab.omsdk.qil.exception
Class QILTimeoutException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.genesyslab.omsdk.commons.exception.OMSDKException
              extended bycom.genesyslab.omsdk.qil.exception.QILBaseException
                  extended bycom.genesyslab.omsdk.qil.exception.QILRequestFailedException
                      extended bycom.genesyslab.omsdk.qil.exception.QILTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class QILTimeoutException
extends QILRequestFailedException

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

Since:
7.1.000.00
See Also:
Serialized Form

Constructor Summary
QILTimeoutException(int timeout)
          Constructor for this exception.
QILTimeoutException(java.lang.String message, int timeout, java.lang.Exception cause)
          Constructs the exception caused by another exception
 
Method Summary
 int getTimeout()
          Returns the timeout delay that was reached.
 
Methods inherited from class com.genesyslab.omsdk.commons.exception.OMSDKException
getExceptionCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QILTimeoutException

public QILTimeoutException(int timeout)
Constructor for this exception.

Parameters:
timeout - the timeout delay in seconds

QILTimeoutException

public QILTimeoutException(java.lang.String message,
                           int timeout,
                           java.lang.Exception cause)
Constructs the exception caused by another exception

Parameters:
message - a String specifying the message string
timeout - an int speicying the timeout delay in seconds
cause - a String specifying the cause exception
Method Detail

getTimeout

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

Returns:
the timeout delay in seconds.