Package net.bytebuddy.asm
Interface Advice.Dispatcher.SuppressionHandler
-
- All Known Implementing Classes:
Advice.Dispatcher.SuppressionHandler.NoOp
,Advice.Dispatcher.SuppressionHandler.Suppressing
- Enclosing interface:
- Advice.Dispatcher
public static interface Advice.Dispatcher.SuppressionHandler
A suppression handler for optionally suppressing exceptions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Advice.Dispatcher.SuppressionHandler.Bound
A bound version of a suppression handler that must not be reused.static class
Advice.Dispatcher.SuppressionHandler.NoOp
A non-operational suppression handler that does not suppress any method.static class
Advice.Dispatcher.SuppressionHandler.Suppressing
A suppression handler that suppresses a given throwable type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Advice.Dispatcher.SuppressionHandler.Bound
bind(StackManipulation exceptionHandler)
Binds the suppression handler for instrumenting a specific method.
-
-
-
Method Detail
-
bind
Advice.Dispatcher.SuppressionHandler.Bound bind(StackManipulation exceptionHandler)
Binds the suppression handler for instrumenting a specific method.- Parameters:
exceptionHandler
- The stack manipulation to apply within a suppression handler.- Returns:
- A bound version of the suppression handler.
-
-