jaroslav@417: /* jaroslav@417: * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. jaroslav@417: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. jaroslav@417: * jaroslav@417: * This code is free software; you can redistribute it and/or modify it jaroslav@417: * under the terms of the GNU General Public License version 2 only, as jaroslav@417: * published by the Free Software Foundation. Oracle designates this jaroslav@417: * particular file as subject to the "Classpath" exception as provided jaroslav@417: * by Oracle in the LICENSE file that accompanied this code. jaroslav@417: * jaroslav@417: * This code is distributed in the hope that it will be useful, but WITHOUT jaroslav@417: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or jaroslav@417: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License jaroslav@417: * version 2 for more details (a copy is included in the LICENSE file that jaroslav@417: * accompanied this code). jaroslav@417: * jaroslav@417: * You should have received a copy of the GNU General Public License version jaroslav@417: * 2 along with this work; if not, write to the Free Software Foundation, jaroslav@417: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. jaroslav@417: * jaroslav@417: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA jaroslav@417: * or visit www.oracle.com if you need additional information or have any jaroslav@417: * questions. jaroslav@417: */ jaroslav@417: jaroslav@417: package java.lang; jaroslav@417: jaroslav@417: /** jaroslav@417: * Thrown when a particular method cannot be found. jaroslav@417: * jaroslav@417: * @author unascribed jaroslav@417: * @since JDK1.0 jaroslav@417: */ jaroslav@417: public jaroslav@417: class NoSuchMethodException extends ReflectiveOperationException { jaroslav@417: private static final long serialVersionUID = 5034388446362600923L; jaroslav@417: jaroslav@417: /** jaroslav@417: * Constructs a NoSuchMethodException without a detail message. jaroslav@417: */ jaroslav@417: public NoSuchMethodException() { jaroslav@417: super(); jaroslav@417: } jaroslav@417: jaroslav@417: /** jaroslav@417: * Constructs a NoSuchMethodException with a detail message. jaroslav@417: * jaroslav@417: * @param s the detail message. jaroslav@417: */ jaroslav@417: public NoSuchMethodException(String s) { jaroslav@417: super(s); jaroslav@417: } jaroslav@417: }