Save This Page
Home » openjdk-7 » java » lang » [javadoc | source]
java.lang
public class: ClassFormatError [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Error
         java.lang.LinkageError
            java.lang.ClassFormatError

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    GenericSignatureFormatError, UnsupportedClassVersionError

Thrown when the Java Virtual Machine attempts to read a class file and determines that the file is malformed or otherwise cannot be interpreted as a class file.
Fields inherited from java.lang.Error:
serialVersionUID
Constructor:
 public ClassFormatError() 
 public ClassFormatError(String s) 
    Constructs a ClassFormatError with the specified detail message.
    Parameters:
    s - the detail message.
Methods from java.lang.Throwable:
addSuppressed,   fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   getStackTraceDepth,   getStackTraceElement,   getSuppressed,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait