#

| Chapter 19 The java.awt.datatransfer Package |

## 19.6 java.awt.datatransfer.UnsupportedFlavorException (JDK 1.1)

###

An exception of this type signals that a `Transferable` object could not provide data in the requested format.

    public class UnsupportedFlavorException extends Exception {
        // Public Constructor
                public UnsupportedFlavorException(DataFlavor flavor);
    }

### Hierarchy:

`Object->Throwable(Serializable)->Exception->UnsupportedFlavorException`

### Thrown By:

`StringSelection.getTransferData(), Transferable.getTransferData()`

java.awt.datatransfer.Transferable (JDK 1.1) |  | The java.awt.event Package