org.xins.common.service
Class ConnectionTimeOutCallException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.xins.common.service.CallException
              extended byorg.xins.common.service.GenericCallException
                  extended byorg.xins.common.service.ConnectionCallException
                      extended byorg.xins.common.service.ConnectionTimeOutCallException
All Implemented Interfaces:
Serializable

public final class ConnectionTimeOutCallException
extends ConnectionCallException

Exception that indicates that a connection to a service could not be established due to a connection time-out.

Since:
XINS 1.0.0
Version:
$Revision: 1.18 $ $Date: 2008/07/04 10:22:48 $
Author:
Ernst de Haan
See Also:
Serialized Form

Constructor Summary
ConnectionTimeOutCallException(CallRequest request, TargetDescriptor target, long duration)
          Constructs a new ConnectionTimeOutCallException.
 
Methods inherited from class org.xins.common.service.ConnectionCallException
isFailOverAllowed
 
Methods inherited from class org.xins.common.service.CallException
getDetail, getDuration, getMessage, getNext, getRequest, getTarget
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionTimeOutCallException

public ConnectionTimeOutCallException(CallRequest request,
                                      TargetDescriptor target,
                                      long duration)
                               throws IllegalArgumentException
Constructs a new ConnectionTimeOutCallException.

Parameters:
request - the original request, cannot be null.
target - descriptor for the target that was attempted to be called, cannot be null.
duration - the call duration in milliseconds, must be >= 0.
Throws:
IllegalArgumentException - if request == null || target == null || duration < 0.


See http://www.xins.org/.