Class ClassConstraintException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.bcel.verifier.exc.VerifierConstraintViolatedException
org.apache.bcel.verifier.exc.VerificationException
org.apache.bcel.verifier.exc.ClassConstraintException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LocalVariableInfoInconsistentException
Instances of this class are thrown by BCEL's class file verifier "JustIce" when a class file to verify does not pass
the verification pass 2 as described in the Java Virtual Machine specification, 2nd edition.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new ClassConstraintException with null as its error message string.ClassConstraintException(String message) Constructs a new ClassConstraintException with the specified error message.ClassConstraintException(String message, Throwable initCause) Constructs a new ClassConstraintException with the specified error message and cause. -
Method Summary
Methods inherited from class VerifierConstraintViolatedException
extendMessage, getMessageModifier and TypeMethodDescriptionvoidextendMessage(String pre, String post) Extends the error message with a string before ("pre") and after ("post") the 'old' error message.Gets the error message string of this VerifierConstraintViolatedException object.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClassConstraintException
public ClassConstraintException()Constructs a new ClassConstraintException with null as its error message string. -
ClassConstraintException
Constructs a new ClassConstraintException with the specified error message.- Parameters:
message- The error message.
-
ClassConstraintException
Constructs a new ClassConstraintException with the specified error message and cause.- Parameters:
message- The error message.initCause- The cause.- Since:
- 6.0
-