src/java.base/share/classes/java/lang/EnumConstantNotPresentException.java
changeset 57956 e0b8b019d2f5
parent 47216 71c04702a3d5
equal deleted inserted replaced
57955:18863bf3501f 57956:e0b8b019d2f5
     1 /*
     1 /*
     2  * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2004, 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
    36  * @see     java.lang.reflect.AnnotatedElement
    36  * @see     java.lang.reflect.AnnotatedElement
    37  * @since   1.5
    37  * @since   1.5
    38  */
    38  */
    39 @SuppressWarnings("rawtypes") /* rawtypes are part of the public api */
    39 @SuppressWarnings("rawtypes") /* rawtypes are part of the public api */
    40 public class EnumConstantNotPresentException extends RuntimeException {
    40 public class EnumConstantNotPresentException extends RuntimeException {
       
    41     @java.io.Serial
    41     private static final long serialVersionUID = -6046998521960521108L;
    42     private static final long serialVersionUID = -6046998521960521108L;
    42 
    43 
    43     /**
    44     /**
    44      * The type of the missing enum constant.
    45      * The type of the missing enum constant.
    45      */
    46      */