Class Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler

    • Constructor Detail

      • WithExceptionHandler

        protected WithExceptionHandler​(MethodDescription.InDefinedShape adviceMethod,
                                       java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
                                       org.objectweb.asm.ClassReader classReader,
                                       TypeDefinition enterType,
                                       TypeDescription throwable)
        Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.
        Parameters:
        adviceMethod - The represented advice method.
        userFactories - A list of user-defined factories for offset mappings.
        classReader - The class reader for parsing the advice method's class file.
        enterType - The type of the value supplied by the enter advice method or a description of void if no such value exists.
        throwable - The type of the handled throwable type for which this advice is invoked.