LoadingException (Apache Commons BCEL 6.6.1 API)

org.apache.bcel.verifier.exc

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

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

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

Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.