Полезная информация

Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

25.43 java.lang.NoSuchMethodException (JDK 1.0)

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);
}

Hierarchy:

Object->Throwable(Serializable)->Exception->NoSuchMethodException

Thrown By:

Class.getConstructor(), Class.getDeclaredConstructor(), Class.getDeclaredMethod(), Class.getMethod()


Previous Home Next
java.lang.NoSuchMethodError (JDK 1.0) Book Index java.lang.NullPointerException (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java