< prev index next >
src/java.desktop/share/classes/java/awt/print/PrinterException.java
Print this page
*** 24,54 ****
*/
package java.awt.print;
/**
! * The <code>PrinterException</code> class and its subclasses are used
* to indicate that an exceptional condition has occurred in the print
* system.
*/
public class PrinterException extends Exception {
private static final long serialVersionUID = -3757589981158265819L;
/**
! * Constructs a new <code>PrinterException</code> object
* without a detail message.
*/
public PrinterException() {
}
/**
! * Constructs a new <code>PrinterException</code> object
* with the specified detail message.
* @param msg the message to generate when a
! * <code>PrinterException</code> is thrown
*/
public PrinterException(String msg) {
super(msg);
}
}
--- 24,54 ----
*/
package java.awt.print;
/**
! * The {@code PrinterException} class and its subclasses are used
* to indicate that an exceptional condition has occurred in the print
* system.
*/
public class PrinterException extends Exception {
private static final long serialVersionUID = -3757589981158265819L;
/**
! * Constructs a new {@code PrinterException} object
* without a detail message.
*/
public PrinterException() {
}
/**
! * Constructs a new {@code PrinterException} object
* with the specified detail message.
* @param msg the message to generate when a
! * {@code PrinterException} is thrown
*/
public PrinterException(String msg) {
super(msg);
}
}
< prev index next >