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