1. /*
  2. * @(#)PrinterException.java 1.6 00/02/02
  3. *
  4. * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.awt.print;
  11. /**
  12. * The <code>PrinterException</code> class and its subclasses are used
  13. * to indicate that an exceptional condition has occurred in the print
  14. * system.
  15. */
  16. public class PrinterException extends Exception {
  17. /**
  18. * Constructs a new <code>PrinterException</code> object
  19. * without a detail message.
  20. */
  21. public PrinterException() {
  22. }
  23. /**
  24. * Constructs a new <code>PrinterException</code> object
  25. * with the specified detail message.
  26. * @param msg the message to generate when a
  27. * <code>PrinterException</code> is thrown
  28. */
  29. public PrinterException(String msg) {
  30. super(msg);
  31. }
  32. }