Package java.lang |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
public class java.lang.ClassFormatError extends java.lang.LinkageError { // Constructors public ClassFormatError(); public ClassFormatError(String s); }
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.
public ClassFormatError()Constructs a ClassFormatError with no detail message.
public ClassFormatError(String s)Constructs a ClassFormatError with the specified detail message.
Parameter Description s the detail message
© 1996 Sun Microsystems, Inc. All rights reserved.