org.xins.client
Class UnacceptableErrorCodeXINSCallException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.xins.common.service.CallException
              extended byorg.xins.client.XINSCallException
                  extended byorg.xins.client.UnacceptableResultXINSCallException
                      extended byorg.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.7 $ $Date: 2006/08/28 09:12:30 $
Author:
Ernst de Haan
See Also:
Serialized Form

Constructor Summary
UnacceptableErrorCodeXINSCallException(XINSCallRequest request, TargetDescriptor target, long duration, XINSCallResultData resultData)
          Constructs a new UnacceptableErrorCodeXINSCallException based on a XINSCallResultData instance.
 
Methods inherited from class org.xins.client.UnacceptableResultXINSCallException
getDataElement, getErrorCode, getParameter, getParameters
 
Methods inherited from class org.xins.common.service.CallException
getDetail, getDuration, getMessage, getNext, getRequest, getTarget
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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/.