Package java.lang Previous
Previous
Java API
Java API
Index
Index
Next
Next

Class ClassFormatError

Constructors

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.


Constructors


ClassFormatError

public ClassFormatError() 

Constructs a ClassFormatError with no detail message.


ClassFormatError

public ClassFormatError(String  s) 

Constructs a ClassFormatError with the specified detail message.

ParameterDescription
s the detail message



© 1996 Sun Microsystems, Inc. All rights reserved.