package java.lang;

/**
 * Thrown when a particular method cannot be found.
 */
public class NoSuchMethodException extends ReflectiveOperationException {

    /**
     * Constructs a <code>NoSuchMethodException</code> without a detail message.
     */
    public NoSuchMethodException() {
        throw new RuntimeException();
    }

    /**
     * Constructs a <code>NoSuchMethodException</code> with a detail message.
     *
     * @param s
     *        the detail message.
     */
    public NoSuchMethodException(String s) {
        throw new RuntimeException();
    }
}
