1 /* 2 * @(#)FlavorException.java 1.4 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package javax.print; 9 10 import javax.print.DocFlavor; 11 12 /** 13 * Interface FlavorException is a mixin interface which a subclass of {@link 14 * PrintException PrintException} can implement to report an error condition 15 * involving a doc flavor or flavors (class {@link javax.print.DocFlavor 16 * DocFlavor}). The Print Service API does not define any print exception 17 * classes that implement interface FlavorException, that being left to the 18 * Print Service implementor's discretion. 19 * 20 */ 21 public interface FlavorException { 22 23 /** 24 * Returns the unsupported flavors. 25 * @return the unsupported doc flavors. 26 */ 27 public DocFlavor[] getUnsupportedFlavors(); 28 29 } 30