Packages This Package Prev Next Index
§1.47 Class ClassFormatError
public class java.lang.ClassFormatError
extends java.lang.LinkageError (I-§1.53)
{
// Constructors
public ClassFormatError(); §1.47.1
public ClassFormatError(String s); §1.47.2
}
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.
ClassFormatError
public ClassFormatError()
- Constructs a ClassFormatError with no detail message.
ClassFormatError
public ClassFormatError(String s)
- Constructs a ClassFormatError with the specified detail message.
- Parameters:
s
- the detail message
Packages This Package Prev Next Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com