src/java.base/share/classes/java/lang/StackOverflowError.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
    32  * @author unascribed
    32  * @author unascribed
    33  * @since   1.0
    33  * @since   1.0
    34  */
    34  */
    35 public
    35 public
    36 class StackOverflowError extends VirtualMachineError {
    36 class StackOverflowError extends VirtualMachineError {
       
    37     @java.io.Serial
    37     private static final long serialVersionUID = 8609175038441759607L;
    38     private static final long serialVersionUID = 8609175038441759607L;
    38 
    39 
    39     /**
    40     /**
    40      * Constructs a <code>StackOverflowError</code> with no detail message.
    41      * Constructs a {@code StackOverflowError} with no detail message.
    41      */
    42      */
    42     public StackOverflowError() {
    43     public StackOverflowError() {
    43         super();
    44         super();
    44     }
    45     }
    45 
    46 
    46     /**
    47     /**
    47      * Constructs a <code>StackOverflowError</code> with the specified
    48      * Constructs a {@code StackOverflowError} with the specified
    48      * detail message.
    49      * detail message.
    49      *
    50      *
    50      * @param   s   the detail message.
    51      * @param   s   the detail message.
    51      */
    52      */
    52     public StackOverflowError(String s) {
    53     public StackOverflowError(String s) {