src/java.base/share/classes/java/lang/NegativeArraySizeException.java
changeset 59201 b24f4caa1411
parent 58288 48e480e56aad
equal deleted inserted replaced
59200:a686b67a59d9 59201:b24f4caa1411
    29  * Thrown if an application tries to create an array with negative size.
    29  * Thrown if an application tries to create an array with negative size.
    30  *
    30  *
    31  * @author  unascribed
    31  * @author  unascribed
    32  * @since   1.0
    32  * @since   1.0
    33  */
    33  */
    34 public
    34 public class NegativeArraySizeException extends RuntimeException {
    35 class NegativeArraySizeException extends RuntimeException {
       
    36     @java.io.Serial
    35     @java.io.Serial
    37     private static final long serialVersionUID = -8960118058596991861L;
    36     private static final long serialVersionUID = -8960118058596991861L;
    38 
    37 
    39     /**
    38     /**
    40      * Constructs a {@code NegativeArraySizeException} with no
    39      * Constructs a {@code NegativeArraySizeException} with no