Package org.apache.bcel.verifier.exc
Class VerificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.bcel.verifier.exc.VerifierConstraintViolatedException
org.apache.bcel.verifier.exc.VerificationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClassConstraintException
,CodeConstraintException
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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new VerificationException with null as its error message string.VerificationException
(String message) Constructs a new VerificationException with the specified error message.VerificationException
(String message, Throwable initCause) Constructs a new VerificationException with the specified error message and exception -
Method Summary
Methods inherited from class org.apache.bcel.verifier.exc.VerifierConstraintViolatedException
extendMessage, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
VerificationException
VerificationException()Constructs a new VerificationException with null as its error message string. -
VerificationException
VerificationException(String message) Constructs a new VerificationException with the specified error message. -
VerificationException
Constructs a new VerificationException with the specified error message and exception
-