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