Interface FlavorException
public interface FlavorException
Interface FlavorException
is a mixin interface which a subclass of PrintException
can implement to report an error condition involving a doc flavor or flavors (class DocFlavor
). The Print Service API does not define any print exception classes that implement interface FlavorException
, that being left to the Print Service implementor's discretion.
Methods
Modifier and Type | Method | Description |
---|---|---|
DocFlavor[] | getUnsupportedFlavors() | Returns the unsupported flavors. |
Methods
getUnsupportedFlavors
DocFlavor[] getUnsupportedFlavors()
Returns the unsupported flavors.
- Returns:
- the unsupported doc flavors
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/print/FlavorException.html