public final class SocketTimeOutCallException extends GenericCallException
Constructor and Description |
---|
SocketTimeOutCallException(CallRequest request,
TargetDescriptor target,
long duration)
Constructs a new
SocketTimeOutCallException . |
getDetail, getDuration, getMessage, getNext, getRequest, getTarget, isFailOverAllowed
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SocketTimeOutCallException(CallRequest request, TargetDescriptor target, long duration) throws IllegalArgumentException
SocketTimeOutCallException
.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/.