| ZipException.java |
1 /*
2 * %W% %E%
3 *
4 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
5 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6 */
7
8 package java.util.zip;
9
10 import java.io.IOException;
11
12 /**
13 * Signals that a Zip exception of some sort has occurred.
14 *
15 * @author unascribed
16 * @version %I% %G%
17 * @see java.io.IOException
18 * @since JDK1.0
19 */
20
21 public
22 class ZipException extends IOException {
23 /**
24 * Constructs an <code>ZipException</code> with <code>null</code>
25 * as its error detail message.
26 */
27 public ZipException() {
28 super();
29 }
30
31 /**
32 * Constructs an <code>ZipException</code> with the specified detail
33 * message.
34 *
35 * @param s the detail message.
36 */
37
38 public ZipException(String s) {
39 super(s);
40 }
41 }
42