Interface Advice.ExceptionHandler

All Known Implementing Classes:
Advice.ExceptionHandler.Default, Advice.ExceptionHandler.Simple
Enclosing class:
Advice

public static interface Advice.ExceptionHandler
An exception handler is responsible for providing byte code for handling an exception thrown from a suppressing advice method.
  • Method Details

    • 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.