protected static class Advice.Dispatcher.Active.Resolved.ForMethodExit.WithExceptionHandler extends Advice.Dispatcher.Active.Resolved.ForMethodExit
Advice.Dispatcher.Active.Resolved.ForMethodExit.WithExceptionHandler, Advice.Dispatcher.Active.Resolved.ForMethodExit.WithoutExceptionHandlerAdvice.Dispatcher.Active.Resolved.CodeCopier, Advice.Dispatcher.Active.Resolved.ForMethodEnter, Advice.Dispatcher.Active.Resolved.ForMethodExitAdvice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExitAdvice.Dispatcher.Active, Advice.Dispatcher.Bound, Advice.Dispatcher.Inactive, Advice.Dispatcher.OffsetMapping, Advice.Dispatcher.Resolved, Advice.Dispatcher.UnresolvedadviceMethod, offsetMappings, suppressionHandlerIGNORE_ANNOTATION, IGNORE_METHOD| Modifier | Constructor and Description |
|---|---|
protected |
WithExceptionHandler(MethodDescription.InDefinedShape adviceMethod,
List<? extends Advice.Dispatcher.OffsetMapping.Factory> userFactories,
TypeDescription enterType)
Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
protected StackSize |
getPadding()
Returns the additional padding this exit advice implies.
|
boolean |
isSkipThrowable()
Indicates if this advice requires to be called when the instrumented method terminates exceptionally.
|
String |
toString() |
apply, equals, hashCode, ofbind, isAliveclone, finalize, getClass, notify, notifyAll, wait, wait, waitbindisAliveprotected WithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, List<? extends Advice.Dispatcher.OffsetMapping.Factory> userFactories, TypeDescription enterType)
adviceMethod - The represented advice method.userFactories - A list of user-defined factories for offset mappings.enterType - The type of the value supplied by the enter advice method or
a description of void if no such value exists.protected StackSize getPadding()
Advice.Dispatcher.Active.Resolved.ForMethodExitgetPadding in class Advice.Dispatcher.Active.Resolved.ForMethodExitpublic boolean isSkipThrowable()
Advice.Dispatcher.Resolved.ForMethodExittrue if this advice requires to be called when the instrumented method terminates exceptionally.Copyright © 2014–2016. All rights reserved.