Package net.bytebuddy.asm
Interface Advice.ExceptionHandler
-
- All Known Implementing Classes:
Advice.ExceptionHandler.Default,Advice.ExceptionHandler.Simple
- Enclosing class:
- Advice
public static interface Advice.ExceptionHandlerAn exception handler is responsible for providing byte code for handling an exception thrown from a suppressing advice method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAdvice.ExceptionHandler.DefaultDefault implementations for commonly used exception handlers.static classAdvice.ExceptionHandler.SimpleA simple exception handler that returns a fixed stack manipulation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StackManipulationresolve(MethodDescription instrumentedMethod, TypeDescription instrumentedType)Resolves a stack manipulation to apply.
-
-
-
Method Detail
-
resolve
StackManipulation resolve(MethodDescription instrumentedMethod, TypeDescription instrumentedType)
Resolves a stack manipulation to apply.- Parameters:
instrumentedMethod- The instrumented method.instrumentedType- The instrumented type.- Returns:
- The stack manipulation to use.
-
-