1 |
/* ZipException.java - Exception representing a zip related error |
/* ZipException.java - exception representing a zip related error |
2 |
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. |
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
37 |
|
|
38 |
package java.util.zip; |
package java.util.zip; |
39 |
|
|
40 |
/* Written using on-line Java Platform 1.2 API Specification. |
import java.io.IOException; |
|
* Believed complete and correct. |
|
|
*/ |
|
41 |
|
|
42 |
/** |
/** |
43 |
* Is thrown during the creation or input of a zip file. |
* Thrown during the creation or input of a zip file. |
44 |
* |
* |
45 |
* @author Jochen Hoenicke |
* @author Jochen Hoenicke |
46 |
* @author Per Bothner |
* @author Per Bothner |
47 |
* @since JDK 1.1 |
* @status updated to 1.4 |
48 |
*/ |
*/ |
49 |
public class ZipException extends java.io.IOException |
public class ZipException extends IOException |
50 |
{ |
{ |
51 |
public ZipException () |
/** |
52 |
|
* Compatible with JDK 1.0+. |
53 |
|
*/ |
54 |
|
private static final long serialVersionUID = 8000196834066748623L; |
55 |
|
|
56 |
|
/** |
57 |
|
* Create an exception without a message. |
58 |
|
*/ |
59 |
|
public ZipException() |
60 |
{ |
{ |
|
super(); |
|
61 |
} |
} |
62 |
|
|
63 |
|
/** |
64 |
|
* Create an exception with a message. |
65 |
|
* |
66 |
|
* @param msg the message |
67 |
|
*/ |
68 |
public ZipException (String msg) |
public ZipException (String msg) |
69 |
{ |
{ |
70 |
super(msg); |
super(msg); |