NoSuchMethodException | java.lang |
Java 1.0 | serializable checked |
Signals that the specified method does not exist in the specified class.
Figure 10-45. java.lang.NoSuchMethodException
public class NoSuchMethodException extends Exception { // Public Constructors public NoSuchMethodException ( ); public NoSuchMethodException (String s ); }
Thrown By Class.{getConstructor( ), getdeclaredConstructor( ), getdeclaredMethod( ), getMethod( )} |