KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > lang > ClassFormatError


1 /*
2  * @(#)ClassFormatError.java 1.20 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.lang;
9
10 /**
11  * Thrown when the Java Virtual Machine attempts to read a class
12  * file and determines that the file is malformed or otherwise cannot
13  * be interpreted as a class file.
14  *
15  * @author unascribed
16  * @version 1.20, 12/19/03
17  * @since JDK1.0
18  */

19 public
20 class ClassFormatError extends LinkageError JavaDoc {
21     /**
22      * Constructs a <code>ClassFormatError</code> with no detail message.
23      */

24     public ClassFormatError() {
25     super();
26     }
27
28     /**
29      * Constructs a <code>ClassFormatError</code> with the specified
30      * detail message.
31      *
32      * @param s the detail message.
33      */

34     public ClassFormatError(String JavaDoc s) {
35     super(s);
36     }
37 }
38
Popular Tags