Java In A Nutshell, 5th Edition
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( )} |