APIdia Launch Partner
Top Description Fields Constructors
java.lang

public Class ClassFormatError

extends LinkageError
Class Inheritance
Known Direct Subclasses
java.lang.UnsupportedClassVersionError, java.lang.reflect.GenericSignatureFormatError

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.
Since
1.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
ClassFormatError()

Constructs a ClassFormatError with no detail message.

public
ClassFormatError(String
the detail message.
s
)

Constructs a ClassFormatError with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.LinkageError.serialVersionUID.

Annotations
@Serial

Constructor Detail

ClassFormatErrorback to summary
public ClassFormatError()

Constructs a ClassFormatError with no detail message.

ClassFormatErrorback to summary
public ClassFormatError(String s)

Constructs a ClassFormatError with the specified detail message.

Parameters
s:String

the detail message.