src/java.base/share/classes/java/lang/ClassCastException.java
changeset 59201 b24f4caa1411
parent 58288 48e480e56aad
equal deleted inserted replaced
59200:a686b67a59d9 59201:b24f4caa1411
    35  * </pre></blockquote>
    35  * </pre></blockquote>
    36  *
    36  *
    37  * @author  unascribed
    37  * @author  unascribed
    38  * @since   1.0
    38  * @since   1.0
    39  */
    39  */
    40 public
    40 public class ClassCastException extends RuntimeException {
    41 class ClassCastException extends RuntimeException {
       
    42     @java.io.Serial
    41     @java.io.Serial
    43     private static final long serialVersionUID = -9223365651070458532L;
    42     private static final long serialVersionUID = -9223365651070458532L;
    44 
    43 
    45     /**
    44     /**
    46      * Constructs a {@code ClassCastException} with no detail message.
    45      * Constructs a {@code ClassCastException} with no detail message.