1 |
/* PrinterException.java -- Generic problem in the printing subsystem. |
/* PrinterException.java -- generic problem in the printing subsystem |
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; |
|
|
|
|
41 |
/** |
/** |
42 |
* This is the generic toplevel exception for printing errors. Subclasses |
* This is the generic toplevel exception for printing errors. Subclasses |
43 |
* provide more detailed descriptions of the problem. |
* provide more detailed descriptions of the problem. |
44 |
* |
* |
45 |
* @author Aaron M. Renn (arenn@urbanophile.com) |
* @author Aaron M. Renn <arenn@urbanophile.com> |
46 |
*/ |
* @status updated to 1.4 |
|
public class PrinterException extends Exception implements Serializable |
|
|
{ |
|
|
|
|
|
/* |
|
|
* Constructors |
|
47 |
*/ |
*/ |
48 |
|
public class PrinterException extends Exception |
|
/** |
|
|
* Initializes a new instance of <code>PrinterException</code> with no |
|
|
* detailed error message. |
|
|
*/ |
|
|
public |
|
|
PrinterException() |
|
49 |
{ |
{ |
50 |
super(); |
/** |
51 |
} |
* Compatible with JDK 1.2+. |
52 |
|
*/ |
53 |
/*************************************************************************/ |
private static final long serialVersionUID = -3757589981158265819L; |
54 |
|
|
55 |
/** |
/** |
56 |
* Initializes a new instance of <code>PrinterException</code> with a |
* Create a new instance with no detailed error message. |
57 |
* descriptive error message. |
*/ |
58 |
* |
public PrinterException() |
59 |
* @param message The descriptive error message. |
{ |
60 |
*/ |
} |
61 |
public |
|
62 |
PrinterException(String message) |
/** |
63 |
{ |
* Create a new instance with a descriptive error message. |
64 |
super(message); |
* |
65 |
} |
* @param message the descriptive error message |
66 |
|
*/ |
67 |
|
public PrinterException(String message) |
68 |
|
{ |
69 |
|
super(message); |
70 |
|
} |
71 |
} // class PrinterException |
} // class PrinterException |
|
|
|