| org.xins.client.XINSCallException org.xins.client.InvalidResultXINSCallException
InvalidResultXINSCallException | final public class InvalidResultXINSCallException extends XINSCallException (Code) | | Exception thrown to indicate that the result from a XINS API call was
invalid according to the XINS rules for a XINS call result.
Note that this exception is only thrown if the result is
invalid according to the XINS rules for a result XML document. If the
result is only invalid in relation to the applicable API specification,
then an
UnacceptableResultXINSCallException is thrown instead.
version: $Revision: 1.18 $ $Date: 2007/03/16 09:54:58 $ author: Ernst de Haan since: XINS 1.0.0 |
noDataReceived | static InvalidResultXINSCallException noDataReceived(XINSCallRequest request, TargetDescriptor target, long duration) throws IllegalArgumentException(Code) | | Creates a InvalidResultXINSCallException for the situation
where no HTTP data is received.
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.the exception indicating that no HTTP data was received. throws: IllegalArgumentException - if request == null|| target == null|| duration < 0 . |
parseError | static InvalidResultXINSCallException parseError(byte[] httpData, XINSCallRequest request, TargetDescriptor target, long duration, Throwable cause) throws IllegalArgumentException(Code) | | Creates a InvalidResultXINSCallException for the situation
where the received HTTP data cannot be parsed.
Parameters: httpData - the HTTP data, cannot be null and the length must bepositive. 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: cause - the cause exception, or null if there is none.the exception indicating that the HTTP data could not be parsed. throws: IllegalArgumentException - if httpData == null|| request == null|| target == null|| httpData.length < 1|| duration < 0 . |
|
|