1 /* 2 * @(#)PrinterException.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>PrinterException</code> class and its subclasses are used 12 * to indicate that an exceptional condition has occurred in the print 13 * system. 14 */ 15 16 public class PrinterException extends Exception { 17 18 /** 19 * Constructs a new <code>PrinterException</code> object 20 * without a detail message. 21 */ 22 public PrinterException() { 23 24 } 25 26 /** 27 * Constructs a new <code>PrinterException</code> object 28 * with the specified detail message. 29 * @param msg the message to generate when a 30 * <code>PrinterException</code> is thrown 31 */ 32 public PrinterException(String msg) { 33 super(msg); 34 } 35 } 36