1. /*
  2. * @(#)PrinterAbortException.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>PrinterAbortException</code> class is a subclass of
  13. * {@link PrinterException} and is used to indicate that a user
  14. * or application has terminated the print job while it was in
  15. * the process of printing.
  16. */
  17. public class PrinterAbortException extends PrinterException {
  18. /**
  19. * Constructs a new <code>PrinterAbortException</code> with no
  20. * detail message.
  21. */
  22. public PrinterAbortException() {
  23. super();
  24. }
  25. /**
  26. * Constructs a new <code>PrinterAbortException</code> with
  27. * the specified detail message.
  28. * @param msg the message to be generated when a
  29. * <code>PrinterAbortException</code> is thrown
  30. */
  31. public PrinterAbortException(String msg) {
  32. super(msg);
  33. }
  34. }