Class AnalyzerException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AnalyzerException
    extends java.lang.Exception
    An exception thrown if a problem occurs during the analysis of a method.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      AbstractInsnNode node
      The bytecode instruction where the analysis failed.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • node

        public final transient AbstractInsnNode node
        The bytecode instruction where the analysis failed.
    • Constructor Detail

      • AnalyzerException

        public AnalyzerException​(AbstractInsnNode insn,
                                 java.lang.String message)
        Constructs a new AnalyzerException.
        Parameters:
        insn - the bytecode instruction where the analysis failed.
        message - the reason why the analysis failed.
      • AnalyzerException

        public AnalyzerException​(AbstractInsnNode insn,
                                 java.lang.String message,
                                 java.lang.Throwable cause)
        Constructs a new AnalyzerException.
        Parameters:
        insn - the bytecode instruction where the analysis failed.
        message - the reason why the analysis failed.
        cause - the cause of the failure.
      • AnalyzerException

        public AnalyzerException​(AbstractInsnNode insn,
                                 java.lang.String message,
                                 java.lang.Object expected,
                                 Value actual)
        Constructs a new AnalyzerException.
        Parameters:
        insn - the bytecode instruction where the analysis failed.
        message - the reason why the analysis failed.
        expected - an expected value.
        actual - the actual value, different from the expected one.