1. /*
  2. * @(#)PrinterException.java 1.5 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.awt.print;
  8. /**
  9. * The <code>PrinterException</code> class and its subclasses are used
  10. * to indicate that an exceptional condition has occurred in the print
  11. * system.
  12. */
  13. public class PrinterException extends Exception {
  14. /**
  15. * Constructs a new <code>PrinterException</code> object
  16. * without a detail message.
  17. */
  18. public PrinterException() {
  19. }
  20. /**
  21. * Constructs a new <code>PrinterException</code> object
  22. * with the specified detail message.
  23. * @param msg the message to generate when a
  24. * <code>PrinterException</code> is thrown
  25. */
  26. public PrinterException(String msg) {
  27. super(msg);
  28. }
  29. }