public final class UnexpectedExceptionCallException extends GenericCallException
Throwable.getCause()
.Constructor and Description |
---|
UnexpectedExceptionCallException(CallRequest request,
TargetDescriptor target,
long duration,
String detail,
Throwable cause)
Constructs a new
UnexpectedExceptionCallException . |
getDetail, getDuration, getMessage, getNext, getRequest, getTarget, isFailOverAllowed
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnexpectedExceptionCallException(CallRequest request, TargetDescriptor target, long duration, String detail, Throwable cause) throws IllegalArgumentException
UnexpectedExceptionCallException
.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.detail
- a detailed description of the problem, can be null
if
there is no more detail.cause
- the cause exception, can be null
.IllegalArgumentException
- if request == null
|| target == null
|| cause == null
|| duration < 0
.See http://www.xins.org/.