src/java.base/share/classes/java/util/zip/ZipException.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) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1995, 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  * @since   1.1
    35  * @since   1.1
    36  */
    36  */
    37 
    37 
    38 public
    38 public
    39 class ZipException extends IOException {
    39 class ZipException extends IOException {
       
    40     @java.io.Serial
    40     private static final long serialVersionUID = 8000196834066748623L;
    41     private static final long serialVersionUID = 8000196834066748623L;
    41 
    42 
    42     /**
    43     /**
    43      * Constructs a <code>ZipException</code> with <code>null</code>
    44      * Constructs a {@code ZipException} with {@code null}
    44      * as its error detail message.
    45      * as its error detail message.
    45      */
    46      */
    46     public ZipException() {
    47     public ZipException() {
    47         super();
    48         super();
    48     }
    49     }
    49 
    50 
    50     /**
    51     /**
    51      * Constructs a <code>ZipException</code> with the specified detail
    52      * Constructs a {@code ZipException} with the specified detail
    52      * message.
    53      * message.
    53      *
    54      *
    54      * @param   s   the detail message.
    55      * @param   s   the detail message.
    55      */
    56      */
    56 
    57