1 |
/* DataformatException.java - Exception thrown when compressed data is corrupt |
/* java.util.zip.DataFormatException |
2 |
Copyright (C) 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. |
27 |
package java.util.zip; |
package java.util.zip; |
28 |
|
|
29 |
/** |
/** |
30 |
* @author Tom Tromey |
* May be thrown by methods that are decompressing (inflating) compressed data. |
31 |
* @date May 17, 1999 |
* |
32 |
|
* |
33 |
|
* @author John Leuner |
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 DataFormatException extends Exception |
|
* Exception thrown when compressed data is corrupt. |
|
|
*/ |
|
|
public class DataFormatException extends Exception |
|
39 |
{ |
{ |
40 |
public DataFormatException () |
public DataFormatException() |
41 |
{ |
{ |
42 |
super(); |
this(""); |
43 |
} |
} |
44 |
|
|
45 |
public DataFormatException (String msg) |
public DataFormatException(String m) |
46 |
{ |
{ |
47 |
super(msg); |
super(m); |
48 |
} |
} |
49 |
} |
} |
50 |
|
|
51 |
|
|
52 |
|
|