org.xins.common.service
Class UnexpectedExceptionCallException

java.lang.Object
  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:
Serializable

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().

Since:
XINS 1.0.0
Version:
$Revision: 1.16 $ $Date: 2006/08/28 09:12:34 $
Author:
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

UnexpectedExceptionCallException

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

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


See http://www.xins.org/.