Packages  This Package  Prev  Next  Index  
	§1.56 Class NoSuchMethodError
public  class  java.lang.NoSuchMethodError
    extends  java.lang.IncompatibleClassChangeError  (I-§1.50)
{
        // Constructors
    public NoSuchMethodError();	§1.56.1
    public NoSuchMethodError(String  s);	§1.56.2
}
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.
NoSuchMethodError
public NoSuchMethodError()
- Constructs a NoSuchMethodException with no detail message. 
 
NoSuchMethodError
public NoSuchMethodError(String  s)
- Constructs a NoSuchMethodException 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