public final class IOCallException extends GenericCallException
Constructor and Description |
---|
IOCallException(CallRequest request,
TargetDescriptor target,
long duration,
IOException ioException)
Constructs a new
IOCallException . |
getDetail, getDuration, getMessage, getNext, getRequest, getTarget, isFailOverAllowed
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IOCallException(CallRequest request, TargetDescriptor target, long duration, IOException ioException) throws IllegalArgumentException
IOCallException
.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
.IllegalArgumentException
- if request == null
|| target == null
|| ioException == null
|| duration < 0
.See http://www.xins.org/.