public abstract class AbstractCAPIErrorCodeException extends UnsuccessfulXINSCallException
This class should not be derived from directly. Only generated CAPI classes should derive from this class.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCAPIErrorCodeException(XINSCallRequest request,
TargetDescriptor target,
long duration,
XINSCallResultData resultData)
Constructs a new
AbstractCAPIErrorCodeException. |
getDataElement, getErrorCode, getParameter, getParameters, getTypegetDetail, getDuration, getMessage, getNext, getRequest, getTarget, isFailOverAllowedaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected AbstractCAPIErrorCodeException(XINSCallRequest request, TargetDescriptor target, long duration, XINSCallResultData resultData) throws IllegalArgumentException
AbstractCAPIErrorCodeException.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/.