Class Advice.OffsetMapping.ForThrowable

    • Constructor Detail

      • ForThrowable

        protected ForThrowable​(TypeDescription.Generic target,
                               Advice.Thrown annotation)
        Creates a new offset mapping for access of the exception that is thrown by the instrumented method..
        Parameters:
        target - The type of parameter that is being accessed.
        annotation - The annotation to bind.
      • ForThrowable

        public ForThrowable​(TypeDescription.Generic target,
                            boolean readOnly,
                            Assigner.Typing typing)
        Creates a new offset mapping for access of the exception that is thrown by the instrumented method..
        Parameters:
        target - The type of parameter that is being accessed.
        readOnly - true if the parameter is read-only.
        typing - The typing to apply.