@Dependent public class FallbackService extends Object
Constructor and Description |
---|
FallbackService() |
Modifier and Type | Method and Description |
---|---|
String |
getFallbackValue() |
String |
serviceA(Throwable exception) |
String |
serviceB(Throwable exception) |
String |
serviceC(Throwable exception) |
@Fallback(applyOn={E0.class,E2.class}, skipOn=E1.class, fallbackMethod="myFallback") public String serviceA(Throwable exception) throws Throwable
Throwable
@Fallback(applyOn={java.lang.Exception.class,E1.class}, skipOn={E0.class,E2.class}, fallbackMethod="myFallback") public String serviceB(Throwable exception) throws Throwable
Throwable
@Fallback(applyOn={E1.class,E2.class}, skipOn=E0.class, fallbackMethod="myFallback") public String serviceC(Throwable exception) throws Throwable
Throwable
public String getFallbackValue()
Copyright © 2020 Eclipse Foundation. All rights reserved.