Packages  This Package  Prev  Next  Index  

§1.45 Class AbstractMethodError

public  class  java.lang.AbstractMethodError
    extends  java.lang.IncompatibleClassChangeError  (I-§1.50)
{
        // Constructors
    public AbstractMethodError();	§1.45.1
    public AbstractMethodError(String  s);	§1.45.2
}
Thrown when an application tries to call an abstract method. Normally, this error is caught by the compiler; this error can only occur at runtime if the definition of some class has incompatibably changed since the currently executing method was last compiled.


Constructors

AbstractMethodError

public AbstractMethodError()
Constructs an AbstractMethodError with no detail message.

AbstractMethodError

public AbstractMethodError(String s)
Constructs an AbstractMethodError with the specified detail message.
Parameters:
s - the detail message

Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com