Name

ClassFormatError

Synopsis

Signals an error in the binary format of a class file.

java.lang.ClassFormatError

Figure 10-13. java.lang.ClassFormatError

public class ClassFormatError extends LinkageError {
// Public Constructors
     public ClassFormatError( );  
     public ClassFormatError(String s);  
}

Subclasses

UnsupportedClassVersionError, java.lang.reflect.GenericSignatureFormatError

Thrown By

ClassLoader.defineClass( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.