com.thoughtworks.proxy.toys.failover
Class Failover.FailoverExceptingOrBuild<T>
java.lang.Object
com.thoughtworks.proxy.toys.failover.Failover.FailoverBuild<T>
com.thoughtworks.proxy.toys.failover.Failover.FailoverExceptingOrBuild<T>
- Direct Known Subclasses:
- Failover.FailoverWithOrExceptingOrBuild
- Enclosing class:
- Failover<T>
public static class Failover.FailoverExceptingOrBuild<T>
- extends Failover.FailoverBuild<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
excepting
public Failover.FailoverBuild<T> excepting(Class<? extends Throwable> exceptionClass)
- Excepting this exception class.
- Parameters:
exceptionClass
- the type of the exceptions triggering failover
- Returns:
- a factory that will trigger the usage of the next delegate based on the supplied Throwable type.
- Since:
- 1.0
Copyright © 2005-2010 Codehaus. All Rights Reserved.