Class VerificationException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ClassConstraintException, CodeConstraintException

    public abstract class VerificationException
    extends VerifierConstraintViolatedException
    Instances of this class are thrown by BCEL's class file verifier "JustIce" when a class file to verify does not pass one of the verification passes 2 or 3. Note that the pass 3 used by "JustIce" involves verification that is usually delayed to pass 4. The name of this class is justified by the Java Virtual Machine Specification, 2nd edition, page 164, 5.4.1 where verification as a part of the linking process is defined to be the verification happening in passes 2 and 3.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      VerificationException()
      Constructs a new VerificationException with null as its error message string.
      VerificationException​(java.lang.String message)
      Constructs a new VerificationException with the specified error message.
      VerificationException​(java.lang.String message, java.lang.Throwable initCause)
      Constructs a new VerificationException with the specified error message and exception
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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
    • Constructor Detail

      • VerificationException

        VerificationException()
        Constructs a new VerificationException with null as its error message string.
      • VerificationException

        VerificationException​(java.lang.String message)
        Constructs a new VerificationException with the specified error message.
      • VerificationException

        VerificationException​(java.lang.String message,
                              java.lang.Throwable initCause)
        Constructs a new VerificationException with the specified error message and exception