emul/mini/src/main/java/java/util/zip/ZipException.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 30 Jan 2013 14:00:17 +0100
branchjdk7-b147
changeset 609 48ef38e9677e
permissions -rw-r--r--
Adding classes necessary for usage of ZipInputStream
jaroslav@609
     1
/*
jaroslav@609
     2
 * Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
jaroslav@609
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jaroslav@609
     4
 *
jaroslav@609
     5
 * This code is free software; you can redistribute it and/or modify it
jaroslav@609
     6
 * under the terms of the GNU General Public License version 2 only, as
jaroslav@609
     7
 * published by the Free Software Foundation.  Oracle designates this
jaroslav@609
     8
 * particular file as subject to the "Classpath" exception as provided
jaroslav@609
     9
 * by Oracle in the LICENSE file that accompanied this code.
jaroslav@609
    10
 *
jaroslav@609
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
jaroslav@609
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jaroslav@609
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
jaroslav@609
    14
 * version 2 for more details (a copy is included in the LICENSE file that
jaroslav@609
    15
 * accompanied this code).
jaroslav@609
    16
 *
jaroslav@609
    17
 * You should have received a copy of the GNU General Public License version
jaroslav@609
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
jaroslav@609
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jaroslav@609
    20
 *
jaroslav@609
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
jaroslav@609
    22
 * or visit www.oracle.com if you need additional information or have any
jaroslav@609
    23
 * questions.
jaroslav@609
    24
 */
jaroslav@609
    25
jaroslav@609
    26
package java.util.zip;
jaroslav@609
    27
jaroslav@609
    28
import java.io.IOException;
jaroslav@609
    29
jaroslav@609
    30
/**
jaroslav@609
    31
 * Signals that a Zip exception of some sort has occurred.
jaroslav@609
    32
 *
jaroslav@609
    33
 * @author  unascribed
jaroslav@609
    34
 * @see     java.io.IOException
jaroslav@609
    35
 * @since   JDK1.0
jaroslav@609
    36
 */
jaroslav@609
    37
jaroslav@609
    38
public
jaroslav@609
    39
class ZipException extends IOException {
jaroslav@609
    40
    private static final long serialVersionUID = 8000196834066748623L;
jaroslav@609
    41
jaroslav@609
    42
    /**
jaroslav@609
    43
     * Constructs a <code>ZipException</code> with <code>null</code>
jaroslav@609
    44
     * as its error detail message.
jaroslav@609
    45
     */
jaroslav@609
    46
    public ZipException() {
jaroslav@609
    47
        super();
jaroslav@609
    48
    }
jaroslav@609
    49
jaroslav@609
    50
    /**
jaroslav@609
    51
     * Constructs a <code>ZipException</code> with the specified detail
jaroslav@609
    52
     * message.
jaroslav@609
    53
     *
jaroslav@609
    54
     * @param   s   the detail message.
jaroslav@609
    55
     */
jaroslav@609
    56
jaroslav@609
    57
    public ZipException(String s) {
jaroslav@609
    58
        super(s);
jaroslav@609
    59
    }
jaroslav@609
    60
}