Class Classfile.ClassfileFormatException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Classfile

    static class Classfile.ClassfileFormatException
    extends java.io.IOException
    Thrown when a classfile's contents are not in the correct format.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static long serialVersionUID
      serialVersionUID.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable fillInStackTrace()
      Speed up exception (stack trace is not needed for this exception).
      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getLocalizedMessage, getMessage, 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
    • Field Detail

    • Constructor Detail

      • ClassfileFormatException

        public ClassfileFormatException​(java.lang.String message)
        Constructor.
        Parameters:
        message - the message
      • ClassfileFormatException

        public ClassfileFormatException​(java.lang.String message,
                                        java.lang.Throwable cause)
        Constructor.
        Parameters:
        message - the message
        cause - the cause
    • Method Detail

      • fillInStackTrace

        public java.lang.Throwable fillInStackTrace()
        Speed up exception (stack trace is not needed for this exception).
        Overrides:
        fillInStackTrace in class java.lang.Throwable
        Returns:
        this