rt/emul/compact/src/main/java/java/lang/AbstractMethodError.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 26 Feb 2013 16:54:16 +0100
changeset 772 d382dacfd73f
parent 633 emul/compact/src/main/java/java/lang/AbstractMethodError.java@bc6f3be91306
permissions -rw-r--r--
Moving modules around so the runtime is under one master pom and can be built without building other modules that are in the repository
jaroslav@633
     1
/*
jaroslav@633
     2
 * Copyright (c) 1994, 2008, Oracle and/or its affiliates. All rights reserved.
jaroslav@633
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jaroslav@633
     4
 *
jaroslav@633
     5
 * This code is free software; you can redistribute it and/or modify it
jaroslav@633
     6
 * under the terms of the GNU General Public License version 2 only, as
jaroslav@633
     7
 * published by the Free Software Foundation.  Oracle designates this
jaroslav@633
     8
 * particular file as subject to the "Classpath" exception as provided
jaroslav@633
     9
 * by Oracle in the LICENSE file that accompanied this code.
jaroslav@633
    10
 *
jaroslav@633
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
jaroslav@633
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jaroslav@633
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
jaroslav@633
    14
 * version 2 for more details (a copy is included in the LICENSE file that
jaroslav@633
    15
 * accompanied this code).
jaroslav@633
    16
 *
jaroslav@633
    17
 * You should have received a copy of the GNU General Public License version
jaroslav@633
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
jaroslav@633
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jaroslav@633
    20
 *
jaroslav@633
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
jaroslav@633
    22
 * or visit www.oracle.com if you need additional information or have any
jaroslav@633
    23
 * questions.
jaroslav@633
    24
 */
jaroslav@633
    25
jaroslav@633
    26
package java.lang;
jaroslav@633
    27
jaroslav@633
    28
/**
jaroslav@633
    29
 * Thrown when an application tries to call an abstract method.
jaroslav@633
    30
 * Normally, this error is caught by the compiler; this error can
jaroslav@633
    31
 * only occur at run time if the definition of some class has
jaroslav@633
    32
 * incompatibly changed since the currently executing method was last
jaroslav@633
    33
 * compiled.
jaroslav@633
    34
 *
jaroslav@633
    35
 * @author  unascribed
jaroslav@633
    36
 * @since   JDK1.0
jaroslav@633
    37
 */
jaroslav@633
    38
public
jaroslav@633
    39
class AbstractMethodError extends IncompatibleClassChangeError {
jaroslav@633
    40
    private static final long serialVersionUID = -1654391082989018462L;
jaroslav@633
    41
jaroslav@633
    42
    /**
jaroslav@633
    43
     * Constructs an <code>AbstractMethodError</code> with no detail  message.
jaroslav@633
    44
     */
jaroslav@633
    45
    public AbstractMethodError() {
jaroslav@633
    46
        super();
jaroslav@633
    47
    }
jaroslav@633
    48
jaroslav@633
    49
    /**
jaroslav@633
    50
     * Constructs an <code>AbstractMethodError</code> with the specified
jaroslav@633
    51
     * detail message.
jaroslav@633
    52
     *
jaroslav@633
    53
     * @param   s   the detail message.
jaroslav@633
    54
     */
jaroslav@633
    55
    public AbstractMethodError(String s) {
jaroslav@633
    56
        super(s);
jaroslav@633
    57
    }
jaroslav@633
    58
}