Uses of Class java.awt.datatransfer.UnsupportedFlavorException (Java Platform SE 8 )
Date: 2026-01-21

## Uses of Class
java.awt.datatransfer.UnsupportedFlavorException

- Packages that use UnsupportedFlavorException
  Package | Description
  --- | ---
  java.awt.datatransfer | Provides interfaces and classes for transferring data between and within applications.
  java.awt.dnd | Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
  javax.activation |

- - ### Uses of UnsupportedFlavorException in java.awt.datatransfer

    Methods in java.awt.datatransfer that throw UnsupportedFlavorException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | Clipboard.`getData(DataFlavor flavor)` Returns an object representing the current contents of this clipboard in the specified `DataFlavor`.
    `Reader` | DataFlavor.`getReaderForText(Transferable transferable)` Gets a Reader for a text flavor, decoded, if necessary, for the expected charset (encoding).
    `Object` | StringSelection.`getTransferData(DataFlavor flavor)` Returns the `Transferable`'s data in the requested `DataFlavor` if possible.
    `Object` | Transferable.`getTransferData(DataFlavor flavor)` Returns an object which represents the data to be transferred.

  - ### Uses of UnsupportedFlavorException in java.awt.dnd

    Methods in java.awt.dnd that throw UnsupportedFlavorException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | DropTargetContext.TransferableProxy.`getTransferData(DataFlavor df)` Returns an object which represents the data provided by the encapsulated transferable for the requested data flavor.

  - ### Uses of UnsupportedFlavorException in javax.activation

    Methods in javax.activation that throw UnsupportedFlavorException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | DataHandler.`getTransferData(DataFlavor flavor)` Returns an object that represents the data to be transferred.
    `Object` | DataContentHandler.`getTransferData(DataFlavor df, DataSource ds)` Returns an object which represents the data to be transferred.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.