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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceA bound version of a suppression handler that must not be reused.static enumA non-operational suppression handler that does not suppress any method.static classA suppression handler that suppresses a given throwable type. -
Method Summary
Modifier and TypeMethodDescriptionbind(StackManipulation exceptionHandler) Binds the suppression handler for instrumenting a specific method.
-
Method Details
-
bind
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.
-