Class Advice.ExceptionHandler.Simple

java.lang.Object
net.bytebuddy.asm.Advice.ExceptionHandler.Simple
All Implemented Interfaces:
Advice.ExceptionHandler
Enclosing interface:
Advice.ExceptionHandler

@Enhance public static class Advice.ExceptionHandler.Simple extends Object implements Advice.ExceptionHandler
A simple exception handler that returns a fixed stack manipulation.
  • Field Details

    • stackManipulation

      private final StackManipulation stackManipulation
      The stack manipulation to execute.
  • Constructor Details

    • Simple

      public Simple(StackManipulation stackManipulation)
      Creates a new simple exception handler.
      Parameters:
      stackManipulation - The stack manipulation to execute.
  • Method Details