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