1. /*
  2. * @(#)FlavorException.java 1.3 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 javax.print;
  8. import javax.print.DocFlavor;
  9. /**
  10. * Interface FlavorException is a mixin interface which a subclass of {@link
  11. * PrintException PrintException} can implement to report an error condition
  12. * involving a doc flavor or flavors (class {@link javax.print.DocFlavor
  13. * DocFlavor}). The Print Service API does not define any print exception
  14. * classes that implement interface FlavorException, that being left to the
  15. * Print Service implementor's discretion.
  16. *
  17. */
  18. public interface FlavorException {
  19. /**
  20. * Returns the unsupported flavors.
  21. * @return the unsupported doc flavors.
  22. */
  23. public DocFlavor[] getUnsupportedFlavors();
  24. }