src/java.base/share/classes/java/lang/IllegalAccessError.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) 1995, 2008, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1995, 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  *
    35  *
    36  * @author  unascribed
    36  * @author  unascribed
    37  * @since   1.0
    37  * @since   1.0
    38  */
    38  */
    39 public class IllegalAccessError extends IncompatibleClassChangeError {
    39 public class IllegalAccessError extends IncompatibleClassChangeError {
       
    40     @java.io.Serial
    40     private static final long serialVersionUID = -8988904074992417891L;
    41     private static final long serialVersionUID = -8988904074992417891L;
    41 
    42 
    42     /**
    43     /**
    43      * Constructs an <code>IllegalAccessError</code> with no detail message.
    44      * Constructs an {@code IllegalAccessError} with no detail message.
    44      */
    45      */
    45     public IllegalAccessError() {
    46     public IllegalAccessError() {
    46         super();
    47         super();
    47     }
    48     }
    48 
    49 
    49     /**
    50     /**
    50      * Constructs an <code>IllegalAccessError</code> with the specified
    51      * Constructs an {@code IllegalAccessError} 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 IllegalAccessError(String s) {
    56     public IllegalAccessError(String s) {