KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > awt > print > PrinterAbortException


1 /*
2  * @(#)PrinterAbortException.java 1.9 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.awt.print;
9
10 /**
11  * The <code>PrinterAbortException</code> class is a subclass of
12  * {@link PrinterException} and is used to indicate that a user
13  * or application has terminated the print job while it was in
14  * the process of printing.
15  */

16
17 public class PrinterAbortException extends PrinterException JavaDoc {
18
19     /**
20      * Constructs a new <code>PrinterAbortException</code> with no
21      * detail message.
22      */

23     public PrinterAbortException() {
24         super();
25     }
26
27     /**
28      * Constructs a new <code>PrinterAbortException</code> with
29      * the specified detail message.
30      * @param msg the message to be generated when a
31      * <code>PrinterAbortException</code> is thrown
32      */

33     public PrinterAbortException(String JavaDoc msg) {
34         super(msg);
35     }
36
37 }
38
Popular Tags