FlavorException (Java SE 25 & JDK 25)
Description: declaration: module: java.desktop, package: javax.print, interface: FlavorException
Keywords: javax.print.FlavorException interface

# 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.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DocFlavor[]`
  `getUnsupportedFlavors()`
  Returns the unsupported flavors.

- ## Method Details

  - ### getUnsupportedFlavors

    DocFlavor[] getUnsupportedFlavors()
    Returns the unsupported flavors.
    Returns:
      the unsupported doc flavors