KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > lang > NoSuchFieldError


1 /*
2  * @(#)NoSuchFieldError.java 1.12 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 an application tries to access or modify a specified
12  * field of an object, and that object no longer has that field.
13  * <p>
14  * Normally, this error is caught by the compiler; this error can
15  * only occur at run time if the definition of a class has
16  * incompatibly changed.
17  *
18  * @author unascribed
19  * @version 1.12, 12/19/03
20  * @since JDK1.0
21  */

22 public
23 class NoSuchFieldError extends IncompatibleClassChangeError JavaDoc {
24     /**
25      * Constructs a <code>NoSuchFieldException</code> with no detail message.
26      */

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

37     public NoSuchFieldError(String JavaDoc s) {
38     super(s);
39     }
40 }
41
Popular Tags