com.genesyslab.omsdk.mil.exception
Class MILTimeoutException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.genesyslab.omsdk.commons.exception.OMSDKException
              extended bycom.genesyslab.omsdk.mil.exception.MILBaseException
                  extended bycom.genesyslab.omsdk.mil.exception.MILRequestFailedException
                      extended bycom.genesyslab.omsdk.mil.exception.MILTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class MILTimeoutException
extends MILRequestFailedException

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

Since:
7.1.000.000
See Also:
Serialized Form

Constructor Summary
MILTimeoutException(int timeout)
          Constructor for this exception.
MILTimeoutException(java.lang.String message, int mTimeout, java.lang.Exception cause)
           
 
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

MILTimeoutException

public MILTimeoutException(int timeout)
Constructor for this exception.

Parameters:
timeout - the timeout delay in seconds

MILTimeoutException

public MILTimeoutException(java.lang.String message,
                           int mTimeout,
                           java.lang.Exception cause)
Method Detail

getTimeout

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

Returns:
the timeout delay in seconds.