/[classpath]/classpath/java/util/jar/JarException.java
ViewVC logotype

Diff of /classpath/java/util/jar/JarException.java

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

revision 1.4 by mark, Tue Jan 22 22:27:01 2002 UTC revision 1.5 by ericb, Sun Feb 24 04:25:17 2002 UTC
# Line 1  Line 1 
1  /* Attributes.java -- exception thrown to indicate an problem with a jar file  /* JarException.java -- thrown to indicate an problem with a jar file
2     Copyright (C) 2000 Free Software Foundation, Inc.     Copyright (C) 2000, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 41  import java.util.zip.ZipException; Line 41  import java.util.zip.ZipException;
41    
42  /**  /**
43   * This exception is thrown to indicate an problem with a jar file.   * This exception is thrown to indicate an problem with a jar file.
  * It can be constructed with or without a descriptive message of the problem.  
  * <p>  
44   * Note that none of the methods in the java.util.jar package actually declare   * Note that none of the methods in the java.util.jar package actually declare
45   * to throw this exception, most just declare that they throw an IOException   * to throw this exception, most just declare that they throw an IOException
46   * which is super class of JarException.   * which is super class of JarException.
47   *   *
  * @since 1.2  
48   * @author Mark Wielaard (mark@klomp.org)   * @author Mark Wielaard (mark@klomp.org)
49     * @since 1.2
50   */   */
   
51  public class JarException extends ZipException  public class JarException extends ZipException
52  {  {
53    // Constructors    /**
54       * Compatible with JDK 1.2+.
55       */
56      private static final long serialVersionUID = 7159778400963954473L;
57    
58    /**    /**
59     * Create a new JarException without a descriptive error message.     * Create a new JarException without a descriptive error message.
60     */     */
61    public JarException()    public JarException()
62    {    {
     super();  
63    }    }
64    
65    /**    /**
66     * Create a new JarException with a descriptive error message indicating     * Create a new JarException with a descriptive error message indicating
67     * what went wrong. This message can later be retrieved by calling the     * what went wrong. This message can later be retrieved by calling the
68     * <code>getMessage()</code> method.     * <code>getMessage()</code> method.
    * @see java.lang.Throwable@getMessage()  
69     *     *
70     * @param message The descriptive error message     * @param message The descriptive error message
71       * @see #getMessage()
72     */     */
73    public JarException(String message)    public JarException(String message)
74    {    {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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