@HashCodeAndEqualsPlugin.Enhance public static class Advice.ExceptionHandler.Simple extends Object implements Advice.ExceptionHandler
Advice.ExceptionHandler.Default, Advice.ExceptionHandler.Simple
Constructor and Description |
---|
Simple(StackManipulation stackManipulation)
Creates a new simple exception handler.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation |
resolve(MethodDescription instrumentedMethod,
TypeDescription instrumentedType)
Resolves a stack manipulation to apply.
|
public Simple(StackManipulation stackManipulation)
stackManipulation
- The stack manipulation to execute.public StackManipulation resolve(MethodDescription instrumentedMethod, TypeDescription instrumentedType)
Advice.ExceptionHandler
resolve
in interface Advice.ExceptionHandler
instrumentedMethod
- The instrumented method.instrumentedType
- The instrumented type.Copyright © 2014–2018. All rights reserved.