Open
Description
With the update to Fallbacks to support triggering on particular exceptions it makes me wonder if it would be useful to support multiple Fallbacks on a method so different exceptions can trigger different fallback behaviour.
Something like:
@Fallbacks(@Fallback(fallbackMethod="fallbackOnIOE", applyOn=IOException.class),
@Fallback(fallbackMethod="fallbackOnNPE", applyOn=NullPointerException.class))
public boolean doStuff() throws IOException, NullPointerException {
// do stuff
}
Metadata
Metadata
Assignees
Labels
No labels