public static class Failover.FailoverExceptingOrBuild<T> extends Failover.FailoverBuild<T>
failover| Modifier | Constructor and Description |
|---|---|
private |
FailoverExceptingOrBuild(Failover<T> failover) |
| Modifier and Type | Method and Description |
|---|---|
Failover.FailoverBuild<T> |
excepting(java.lang.Class<? extends java.lang.Throwable> exceptionClass)
Excepting this exception class.
|
buildpublic Failover.FailoverBuild<T> excepting(java.lang.Class<? extends java.lang.Throwable> exceptionClass)
exceptionClass - the type of the exceptions triggering failover