src/java.base/share/classes/java/lang/AbstractMethodError.java
branchdatagramsocketimpl-branch
changeset 58678 9cf78a70fa4f
parent 47216 71c04702a3d5
child 58679 9c3209ff7550
equal deleted inserted replaced
58677:13588c901957 58678:9cf78a70fa4f
     1 /*
     1 /*
     2  * Copyright (c) 1994, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    35  * @author  unascribed
    35  * @author  unascribed
    36  * @since   1.0
    36  * @since   1.0
    37  */
    37  */
    38 public
    38 public
    39 class AbstractMethodError extends IncompatibleClassChangeError {
    39 class AbstractMethodError extends IncompatibleClassChangeError {
       
    40     @java.io.Serial
    40     private static final long serialVersionUID = -1654391082989018462L;
    41     private static final long serialVersionUID = -1654391082989018462L;
    41 
    42 
    42     /**
    43     /**
    43      * Constructs an <code>AbstractMethodError</code> with no detail  message.
    44      * Constructs an {@code AbstractMethodError} with no detail  message.
    44      */
    45      */
    45     public AbstractMethodError() {
    46     public AbstractMethodError() {
    46         super();
    47         super();
    47     }
    48     }
    48 
    49 
    49     /**
    50     /**
    50      * Constructs an <code>AbstractMethodError</code> with the specified
    51      * Constructs an {@code AbstractMethodError} with the specified
    51      * detail message.
    52      * detail message.
    52      *
    53      *
    53      * @param   s   the detail message.
    54      * @param   s   the detail message.
    54      */
    55      */
    55     public AbstractMethodError(String s) {
    56     public AbstractMethodError(String s) {