org.xins.common.service
Class UnexpectedExceptionCallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xins.common.service.CallException
org.xins.common.service.GenericCallException
org.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
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/.