org.xins.common.service
Class IOCallException

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.IOCallException
All Implemented Interfaces:
Serializable

public final class IOCallException
extends GenericCallException

Exception that indicates that an I/O error interrupted a service call.

Since:
XINS 1.0.0
Version:
$Revision: 1.15 $ $Date: 2006/08/28 09:12:34 $
Author:
Ernst de Haan
See Also:
Serialized Form

Constructor Summary
IOCallException(CallRequest request, TargetDescriptor target, long duration, IOException ioException)
          Constructs a new IOCallException.
 
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

IOCallException

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

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.
ioException - the cause IOException, cannot be null.
Throws:
IllegalArgumentException - if request == null || target == null || ioException == null || duration < 0.


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