1 |
/* DataformatException.java - Exception thrown when compressed data is corrupt |
/* DataformatException.java -- thrown when compressed data is corrupt |
2 |
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. |
Copyright (C) 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 |
|
|
|
/* Written using on-line Java Platform 1.2 API Specification. |
|
|
* Believed complete and correct. |
|
|
*/ |
|
|
|
|
40 |
/** |
/** |
41 |
* Exception thrown when compressed data is corrupt. |
* Exception thrown when compressed data is corrupt. |
42 |
* |
* |
43 |
* @author Tom Tromey |
* @author Tom Tromey |
44 |
* @author John Leuner |
* @author John Leuner |
45 |
* @since JDK 1.1 |
* @since 1.1 |
46 |
|
* @status updated to 1.4 |
47 |
*/ |
*/ |
48 |
public class DataFormatException extends Exception |
public class DataFormatException extends Exception |
49 |
{ |
{ |
50 |
public DataFormatException () |
/** |
51 |
|
* Compatible with JDK 1.1+. |
52 |
|
*/ |
53 |
|
private static final long serialVersionUID = 2219632870893641452L; |
54 |
|
|
55 |
|
/** |
56 |
|
* Create an exception without a message. |
57 |
|
*/ |
58 |
|
public DataFormatException() |
59 |
{ |
{ |
|
super(); |
|
60 |
} |
} |
61 |
|
|
62 |
public DataFormatException (String msg) |
/** |
63 |
|
* Create an exception with a message. |
64 |
|
* |
65 |
|
* @param msg the message |
66 |
|
*/ |
67 |
|
public DataFormatException(String msg) |
68 |
{ |
{ |
69 |
super(msg); |
super(msg); |
70 |
} |
} |