public class UnacceptableErrorCodeXINSCallException extends UnacceptableResultXINSCallException
| Constructor and Description |
|---|
UnacceptableErrorCodeXINSCallException(XINSCallRequest request,
TargetDescriptor target,
long duration,
XINSCallResultData resultData)
Constructs a new
UnacceptableErrorCodeXINSCallException
based on a XINSCallResultData instance. |
getDataElement, getErrorCode, getParameter, getParametersgetDetail, getDuration, getMessage, getNext, getRequest, getTarget, isFailOverAllowedaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnacceptableErrorCodeXINSCallException(XINSCallRequest request, TargetDescriptor target, long duration, XINSCallResultData resultData) throws IllegalArgumentException
UnacceptableErrorCodeXINSCallException
based on a XINSCallResultData instance.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.resultData - the result data, cannot be null.IllegalArgumentException - if request == null
|| target == null
|| duration < 0
|| resultData == null
|| resultData.getErrorCode() == null.See http://www.xins.org/.