KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > lang > NoSuchMethodError


1 /*
2  * @(#)NoSuchMethodError.java 1.21 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 call a specified method of a
12  * class (either static or instance), and that class no longer has a
13  * definition of that method.
14  * <p>
15  * Normally, this error is caught by the compiler; this error can
16  * only occur at run time if the definition of a class has
17  * incompatibly changed.
18  *
19  * @author unascribed
20  * @version 1.21, 12/19/03
21  * @since JDK1.0
22  */

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

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

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