summaryrefslogtreecommitdiff
path: root/java/util/zip/DataFormatException.java
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-09-01 00:42:40 +0000
committerTom Tromey <tromey@redhat.com>2001-09-01 00:42:40 +0000
commit2e0a1c63a54686e6cba319e83fa63b1204896280 (patch)
tree6bc13498f5fdd90a87af1e1e6577eddae7a9d59e /java/util/zip/DataFormatException.java
parent002405bffbaab757bc3a34c50919730f06dd7cd3 (diff)
downloadclasspath-2e0a1c63a54686e6cba319e83fa63b1204896280.tar.gz
* java/util/zip/Checksum.java: Re-merged with libgcj.
* java/util/zip/DataFormatException.java: Likewise.
Diffstat (limited to 'java/util/zip/DataFormatException.java')
-rw-r--r--java/util/zip/DataFormatException.java38
1 files changed, 28 insertions, 10 deletions
diff --git a/java/util/zip/DataFormatException.java b/java/util/zip/DataFormatException.java
index 71ead8a49..eae4a2a89 100644
--- a/java/util/zip/DataFormatException.java
+++ b/java/util/zip/DataFormatException.java
@@ -1,12 +1,28 @@
-// DataFormatException.java
-
-/* Copyright (C) 1999 Free Software Foundation
-
- This file is part of libjava.
-
-This software is copyrighted work licensed under the terms of the
-Libjava License. Please consult the file "LIBJAVA_LICENSE" for
-details. */
+/* DataformatException.java - Exception thrown when compressed data is corrupt
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING. If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+As a special exception, if you link this library with other files to
+produce an executable, this library does not by itself cause the
+resulting executable to be covered by the GNU General Public License.
+This exception does not however invalidate any other reasons why the
+executable file might be covered by the GNU General Public License. */
package java.util.zip;
@@ -19,6 +35,9 @@ package java.util.zip;
* Believed complete and correct.
*/
+/**
+ * Exception thrown when compressed data is corrupt.
+ */
public class DataFormatException extends Exception
{
public DataFormatException ()
@@ -31,4 +50,3 @@ public class DataFormatException extends Exception
super(msg);
}
}
-