KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > lang > NoClassDefFoundError


1 /*
2  * @(#)NoClassDefFoundError.java 1.22 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 if the Java Virtual Machine or a <code>ClassLoader</code> instance
12  * tries to load in the definition of a class (as part of a normal method call
13  * or as part of creating a new instance using the <code>new</code> expression)
14  * and no definition of the class could be found.
15  * <p>
16  * The searched-for class definition existed when the currently
17  * executing class was compiled, but the definition can no longer be
18  * found.
19  *
20  * @author unascribed
21  * @version 1.22, 12/19/03
22  * @since JDK1.0
23  */

24 public
25 class NoClassDefFoundError extends LinkageError JavaDoc {
26     /**
27      * Constructs a <code>NoClassDefFoundError</code> with no detail message.
28      */

29     public NoClassDefFoundError() {
30     super();
31     }
32
33     /**
34      * Constructs a <code>NoClassDefFoundError</code> with the specified
35      * detail message.
36      *
37      * @param s the detail message.
38      */

39     public NoClassDefFoundError(String JavaDoc s) {
40     super(s);
41     }
42 }
43
Popular Tags