This exception signals that the specified method does not exist in the specified class.
public class NoSuchMethodException extends Exception { // Public Constructors public NoSuchMethodException(); public NoSuchMethodException(String s); }
Object->Throwable(Serializable)->Exception->NoSuchMethodException
Class.getConstructor(), Class.getDeclaredConstructor(), Class.getDeclaredMethod(), Class.getMethod()