src/java.base/share/classes/sun/reflect/annotation/ExceptionProxy.java
changeset 57956 e0b8b019d2f5
parent 47216 71c04702a3d5
equal deleted inserted replaced
57955:18863bf3501f 57956:e0b8b019d2f5
     1 /*
     1 /*
     2  * Copyright (c) 2004, 2014, 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
    35  *
    35  *
    36  * @author  Josh Bloch
    36  * @author  Josh Bloch
    37  * @since   1.5
    37  * @since   1.5
    38  */
    38  */
    39 public abstract class ExceptionProxy implements java.io.Serializable {
    39 public abstract class ExceptionProxy implements java.io.Serializable {
       
    40     @java.io.Serial
    40     private static final long serialVersionUID = 7241930048386631401L;
    41     private static final long serialVersionUID = 7241930048386631401L;
    41     protected abstract RuntimeException generateException();
    42     protected abstract RuntimeException generateException();
    42 }
    43 }