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