KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > lang > AbstractMethodError


1 /*
2  * @(#)AbstractMethodError.java 1.18 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 an application tries to call an abstract method.
12  * Normally, this error is caught by the compiler; this error can
13  * only occur at run time if the definition of some class has
14  * incompatibly changed since the currently executing method was last
15  * compiled.
16  *
17  * @author unascribed
18  * @version 1.18, 12/19/03
19  * @since JDK1.0
20  */

21 public
22 class AbstractMethodError extends IncompatibleClassChangeError JavaDoc {
23     /**
24      * Constructs an <code>AbstractMethodError</code> with no detail message.
25      */

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

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