| org.xins.client.XINSCallException org.xins.client.UnsuccessfulXINSCallException
All known Subclasses: org.xins.client.AbstractCAPIErrorCodeException, org.xins.client.StandardErrorCodeException,
UnsuccessfulXINSCallException | public class UnsuccessfulXINSCallException extends XINSCallException implements XINSCallResultData(Code) | | Exception that indicates that a result code was returned by the API call.
version: $Revision: 1.33 $ $Date: 2007/05/15 11:33:19 $ author: Ernst de Haan since: XINS 1.0.0 |
UnsuccessfulXINSCallException | UnsuccessfulXINSCallException(XINSCallRequest request, TargetDescriptor target, long duration, XINSCallResultData resultData, String detail) throws IllegalArgumentException(Code) | | Constructs a new UnsuccessfulXINSCallException based on a
XINSCallResultData instance.
Parameters: request - the original request, cannot be null . Parameters: target - descriptor for the target that was attempted to be called, cannot benull . Parameters: duration - the call duration in milliseconds, must be >= 0. Parameters: resultData - the result data, cannot be null . Parameters: detail - detail message, or null . throws: IllegalArgumentException - if request == null|| target == null|| duration < 0|| resultData == null|| resultData.XINSCallResult.getErrorCode getErrorCode() == null . |
getDataElement | final public Element getDataElement()(Code) | | Returns the optional extra data.
the extra data as an Element, can be null ; |
getErrorCode | final public String getErrorCode()(Code) | | Returns the error code.
the error code, never null . |
setType | void setType(ErrorCodeSpec.Type type)(Code) | | Sets the type of the error code.
Parameters: type - the type of the error (functionnal or technical). |
|
|