Class ClassFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException
All Implemented Interfaces:
Serializable

public class ClassFormatException extends Exception
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • ClassFormatException

      public ClassFormatException(RuntimeException e, char[] fileName)
    • ClassFormatException

      public ClassFormatException(int code)
    • ClassFormatException

      public ClassFormatException(Exception e, char[] fileName, int code, int bufPos)
  • Method Details

    • getErrorCode

      public int getErrorCode()
      Returns:
      int
    • getBufferPosition

      public int getBufferPosition()
      Returns:
      int
    • getException

      public Throwable getException()
      Returns the underlying Throwable that caused the failure.
      Returns:
      the wrappered Throwable, or null if the direct case of the failure was at the Java model layer
    • printStackTrace

      public void printStackTrace()
      Overrides:
      printStackTrace in class Throwable
    • printStackTrace

      public void printStackTrace(PrintStream output)
      Prints this exception's stack trace to the given print stream.
      Overrides:
      printStackTrace in class Throwable
      Parameters:
      output - the print stream
      Since:
      3.0
    • printStackTrace

      public void printStackTrace(PrintWriter output)
      Prints this exception's stack trace to the given print writer.
      Overrides:
      printStackTrace in class Throwable
      Parameters:
      output - the print writer
      Since:
      3.0