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