org.xins.common.service
Class ConnectionCallException

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.ConnectionCallException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConnectionRefusedCallException, ConnectionTimeOutCallException, NoRouteToHostCallException, UnknownHostCallException

public abstract class ConnectionCallException
extends GenericCallException

Exception that indicates that a connection to a service could not be established.

Since:
XINS 1.0.0
Version:
$Revision: 1.18 $ $Date: 2010/03/20 13:35:58 $
Author:
Ernst de Haan
See Also:
Serialized Form

Method Summary
 boolean isFailOverAllowed()
          Indicates whether this call exception allow for the ServiceCaller to fail over another TargetDescriptor if available.
 
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
 

Method Detail

isFailOverAllowed

public boolean isFailOverAllowed()
Description copied from class: CallException
Indicates whether this call exception allow for the ServiceCaller to fail over another TargetDescriptor if available. Note that when an exception doesn't know if the call (or part of the call) has been executed, false should be returned.

Overrides:
isFailOverAllowed in class CallException
Returns:
true if the service can fail over, false otherwise.


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