org.xins.common.service
Class NoRouteToHostCallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xins.common.service.CallException
org.xins.common.service.GenericCallException
org.xins.common.service.ConnectionCallException
org.xins.common.service.NoRouteToHostCallException
- All Implemented Interfaces:
- Serializable
- public final class NoRouteToHostCallException
- extends ConnectionCallException
Exception that indicates that a connection to a service could not be
established because no network route could be found to the host.
- Since:
- XINS 1.3.0
- Version:
- $Revision: 1.5 $ $Date: 2006/08/28 09:12:34 $
- Author:
- Ernst de Haan
- See Also:
- Serialized Form
NoRouteToHostCallException
public NoRouteToHostCallException(CallRequest request,
TargetDescriptor target,
long duration)
throws IllegalArgumentException
- Constructs a new
NoRouteToHostCallException
.
- 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.
- Throws:
IllegalArgumentException
- if request == null
|| target == null
|| duration < 0
.
See http://www.xins.org/.