/[classpath]/classpath/java/util/zip/DataFormatException.java
ViewVC logotype

Diff of /classpath/java/util/zip/DataFormatException.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by mark, Tue Jan 22 22:27:02 2002 UTC revision 1.8 by ericb, Sun Feb 24 04:25:17 2002 UTC
# Line 1  Line 1 
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    
# Line 37  exception statement from your version. * Line 37  exception statement from your version. *
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    }    }

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26