Class LoadingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.bcel.verifier.exc.VerifierConstraintViolatedException
org.apache.bcel.verifier.exc.LoadingException
- All Implemented Interfaces:
Serializable
When loading a class file, BCEL will throw an instance of LoadingException if the class file is malformed; so it is
not conforming to the "Pass 1" verification process as described in the Java Virtual Machine specification, 2nd.
edition.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new LoadingException with null as its error message string.LoadingException(String message) Constructs a new LoadingException with the specified error message. -
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
-
LoadingException
public LoadingException()Constructs a new LoadingException with null as its error message string. -
LoadingException
Constructs a new LoadingException with the specified error message.- Parameters:
message- The error message.
-