KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > lang > NoSuchMethodException


1 /*
2  * @(#)NoSuchMethodException.java 1.13 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 a particular method cannot be found.
12  *
13  * @author unascribed
14  * @version 1.13, 12/19/03
15  * @since JDK1.0
16  */

17 public
18 class NoSuchMethodException extends Exception JavaDoc {
19     /**
20      * Constructs a <code>NoSuchMethodException</code> without a detail message.
21      */

22     public NoSuchMethodException() {
23     super();
24     }
25
26     /**
27      * Constructs a <code>NoSuchMethodException</code> with a detail message.
28      *
29      * @param s the detail message.
30      */

31     public NoSuchMethodException(String JavaDoc s) {
32     super(s);
33     }
34 }
35
Popular Tags