# 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`

public class LoadingException extends VerifierConstraintViolatedException
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:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LoadingException()`
  Constructs 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, getMessage`

  ### Methods inherited from class Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### LoadingException

    public LoadingException()
    Constructs a new LoadingException with null as its error message string.

  - ### LoadingException

    public LoadingException(String message)
    Constructs a new LoadingException with the specified error message.