1 /*2 * @(#)NoSuchMethodException.java 1.13 03/12/193 *4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 8 package java.lang;9 10 /**11 * Thrown when a particular method cannot be found.12 *13 * @author unascribed14 * @version 1.13, 12/19/0315 * @since JDK1.016 */17 public18 class NoSuchMethodException extends Exception {19 /**20 * Constructs a <code>NoSuchMethodException</code> without a detail message.21 */22 public NoSuchMethodException() {23 super();24 }25 26 /**27 * Constructs a <code>NoSuchMethodException</code> with a detail message. 28 *29 * @param s the detail message.30 */31 public NoSuchMethodException(String s) {32 super(s);33 }34 }35