| Package java.lang |
Previous |
Java API |
Index |
Next |
public class java.lang.NoSuchMethodError
extends java.lang.IncompatibleClassChangeError
{
// Constructors
public NoSuchMethodError();
public NoSuchMethodError(String s);
}
Thrown if an application tries to call a specified method of a class (either static or instance),and that class no longer has a definition of that method.
Normally, this error is caught by the compiler; this error can only occur at runtime if the definition of a class has incompatibably changed.
public NoSuchMethodError()Constructs a NoSuchMethodException with no detail message.
public NoSuchMethodError(String s)Constructs a NoSuchMethodException with the specified detail message.
Parameter Description s the detail message
| © 1996 Sun Microsystems, Inc. All rights reserved. |