/[classpath]/classpath/java/awt/print/PrinterAbortException.java
ViewVC logotype

Diff of /classpath/java/awt/print/PrinterAbortException.java

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

revision 1.4 by mark, Tue Jan 22 22:26:59 2002 UTC revision 1.5 by ericb, Sun Feb 24 04:25:16 2002 UTC
# Line 1  Line 1 
1  /* PrinterAbortException.java -- Indicates the print job was aborted  /* PrinterAbortException.java -- Indicates the print job was aborted
2     Copyright (C) 1999 Free Software Foundation, Inc.     Copyright (C) 1999, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package java.awt.print;  package java.awt.print;
40    
 import java.io.Serializable;  
   
 /**  
   * This exception is thrown when the print job is aborted, either by the  
   * user or by the application.  
   *  
   * @author Aaron M. Renn (arenn@urbanophile.com)  
   */  
 public class PrinterAbortException extends PrinterException  
                                    implements Serializable  
 {  
   
 /**  
   * Initializes a new instance of <code>PrinterAbortException</code> with no  
   * detailed error message.  
   */  
 public  
 PrinterAbortException()  
 {  
   super();  
 }  
   
 /*************************************************************************/  
   
41  /**  /**
42    * Initializes a new instance of <code>PrinterAbortException</code> with a   * This exception is thrown when the print job is aborted, either by the
43    * descriptive error message.   * user or by the application.
44    *   *
45    * @param message The descriptive error message.   * @author Aaron M. Renn <arenn@urbanophile.com>
46    */   * @status updated to 1.4
47  public   */
48  PrinterAbortException(String message)  public class PrinterAbortException extends PrinterException
49  {  {
50    super(message);    /**
51  }     * Compatible with JDK 1.2+.
52       */
53      private static final long serialVersionUID = 4725169026278854136L;
54    
55      /**
56       * Create a new instance with no detailed error message.
57       */
58      public PrinterAbortException()
59      {
60      }
61    
62      /**
63       * Create a new instance with a descriptive error message.
64       *
65       * @param message the descriptive error message
66       */
67      public PrinterAbortException(String message)
68      {
69        super(message);
70      }
71  } // class PrinterAbortException  } // class PrinterAbortException
   

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