org.xins.client
Class UnacceptableErrorCodeXINSCallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xins.common.service.CallException
org.xins.client.XINSCallException
org.xins.client.UnacceptableResultXINSCallException
org.xins.client.UnacceptableErrorCodeXINSCallException
- All Implemented Interfaces:
- Serializable
- public class UnacceptableErrorCodeXINSCallException
- extends UnacceptableResultXINSCallException
Exception that indicates an error code was received from the server-side
that is not expected at the client-side.
- Since:
- XINS 1.2.0
- Version:
- $Revision: 1.11 $ $Date: 2007/03/16 09:54:58 $
- Author:
- Ernst de Haan
- See Also:
- Serialized Form
UnacceptableErrorCodeXINSCallException
public UnacceptableErrorCodeXINSCallException(XINSCallRequest request,
TargetDescriptor target,
long duration,
XINSCallResultData resultData)
throws IllegalArgumentException
- Constructs a new
UnacceptableErrorCodeXINSCallException
based on a XINSCallResultData instance.
- Parameters:
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.
- Throws:
IllegalArgumentException - if request == null
|| target == null
|| duration < 0
|| resultData == null
|| resultData.getErrorCode() == null.
See http://www.xins.org/.