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 |
|
|
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 |
|
|
|