Class UnexpectedExceptionCallException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.xins.common.service.CallException
              extended byorg.xins.common.service.GenericCallException
                  extended byorg.xins.common.service.UnexpectedExceptionCallException
All Implemented Interfaces:

public final class UnexpectedExceptionCallException
extends GenericCallException

Exception that indicates an unexpected exception was caught while performing a call. The cause exception is a required argument for the constructor. It may be retrieved later using Throwable.getCause().

XINS 1.0.0
$Revision: 1.16 $ $Date: 2006/08/28 09:12:34 $
Ernst de Haan
See Also:
Serialized Form

Constructor Summary
UnexpectedExceptionCallException(CallRequest request, TargetDescriptor target, long duration, String detail, Throwable cause)
          Constructs a new UnexpectedExceptionCallException.
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


public UnexpectedExceptionCallException(CallRequest request,
                                        TargetDescriptor target,
                                        long duration,
                                        String detail,
                                        Throwable cause)
                                 throws IllegalArgumentException
Constructs a new UnexpectedExceptionCallException.

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.
detail - a detailed description of the problem, can be null if there is no more detail.
cause - the cause exception, can be null.
IllegalArgumentException - if request == null || target == null || cause == null || duration < 0.