protected static class Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler extends Advice.Dispatcher.Inlining.Resolved.ForMethodExit
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler, Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithoutExceptionHandlerAdvice.Dispatcher.Inlining.Resolved.AdviceMethodInliner, Advice.Dispatcher.Inlining.Resolved.ForMethodEnter, Advice.Dispatcher.Inlining.Resolved.ForMethodExitAdvice.Dispatcher.Resolved.ForMethodEnter, Advice.Dispatcher.Resolved.ForMethodExitAdvice.Dispatcher.Bound, Advice.Dispatcher.Delegating, Advice.Dispatcher.Inactive, Advice.Dispatcher.Inlining, Advice.Dispatcher.OffsetMapping, Advice.Dispatcher.Resolved, Advice.Dispatcher.SuppressionHandler, Advice.Dispatcher.UnresolvedadviceMethod, offsetMappings, suppressionHandlerIGNORE_ANNOTATION, IGNORE_METHOD| Modifier | Constructor and Description |
|---|---|
protected |
WithExceptionHandler(MethodDescription.InDefinedShape adviceMethod,
List<? extends Advice.Dispatcher.OffsetMapping.Factory> userFactories,
byte[] binaryRepresentation,
TypeDescription enterType,
TypeDescription triggeringThrowable)
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.
|
TypeDescription |
getTriggeringThrowable()
Returns the type of throwable for which this exit advice is supposed to be invoked.
|
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, byte[] binaryRepresentation, TypeDescription enterType, TypeDescription triggeringThrowable)
adviceMethod - The represented advice method.userFactories - A list of user-defined factories for offset mappings.binaryRepresentation - The binary representation of the advice method.enterType - The type of the value supplied by the enter advice method or
a description of void if no such value exists.triggeringThrowable - The type of the handled throwable type for which this advice is invoked.protected StackSize getPadding()
Advice.Dispatcher.Inlining.Resolved.ForMethodExitgetPadding in class Advice.Dispatcher.Inlining.Resolved.ForMethodExitpublic TypeDescription getTriggeringThrowable()
Advice.Dispatcher.Resolved.ForMethodExitThrowable type for which to invoke this exit advice or a description of NoExceptionHandler
if this exit advice does not expect to be invoked upon any throwable.Copyright © 2014–2016. All rights reserved.