1 |
/* ZipException.java - Exception representing a zip related error |
/* java.util.zip.ZipException |
2 |
Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. |
Copyright (C) 2001 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of Jazzlib. |
5 |
|
|
6 |
GNU Classpath is free software; you can redistribute it and/or modify |
Jazzlib is free software; you can redistribute it and/or modify |
7 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
8 |
the Free Software Foundation; either version 2, or (at your option) |
the Free Software Foundation; either version 2, or (at your option) |
9 |
any later version. |
any later version. |
10 |
|
|
11 |
GNU Classpath is distributed in the hope that it will be useful, but |
Jazzlib is distributed in the hope that it will be useful, but |
12 |
WITHOUT ANY WARRANTY; without even the implied warranty of |
WITHOUT ANY WARRANTY; without even the implied warranty of |
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 |
General Public License for more details. |
General Public License for more details. |
25 |
executable file might be covered by the GNU General Public License. */ |
executable file might be covered by the GNU General Public License. */ |
26 |
|
|
27 |
package java.util.zip; |
package java.util.zip; |
28 |
|
import java.io.IOException; |
29 |
|
|
30 |
/** |
/** |
31 |
* @author Per Bothner |
* Is thrown during the creation or input of a zip file. |
32 |
* @date January 9, 1999. |
* |
33 |
|
* @author Jochen Hoenicke |
34 |
|
* @since JDK 1.1 |
35 |
*/ |
*/ |
36 |
|
|
|
/* Written using on-line Java Platform 1.2 API Specification. |
|
|
* Believed complete and correct. |
|
|
*/ |
|
37 |
|
|
38 |
public class ZipException extends java.io.IOException |
public class ZipException extends IOException |
39 |
{ |
{ |
40 |
public ZipException () |
public ZipException() |
41 |
{ |
{ |
42 |
super(); |
this(""); |
43 |
} |
} |
44 |
|
|
45 |
public ZipException (String msg) |
public ZipException(String m) |
46 |
{ |
{ |
47 |
super(msg); |
super(m); |
48 |
} |
} |
49 |
} |
} |
50 |
|
|