[Chapter 20] UnsupportedFlavorException

#

| Chapter 20 java.awt.datatransfer Reference |

# UnsupportedFlavorException

## Name

UnsupportedFlavorException

##

## Description

This exception is thrown from `Transferable.getTransferData(DataFlavor)` to indicate that the `DataFlavor` requested is not available.

## Class Definition

    public class java.awt.datatransfer.UnsupportedFlavorException
       extends java.lang.Exception {
      // Constructor
      public UnsupportedFlavorException (DataFlavor flavor);
    }

## Constructors

### UnsupportedFlavorException

#### public UnsupportedFlavorException (DataFlavor flavor)

Parameters

  flavor

    The flavor that caused the exception.

## See Also

`DataFlavor`, `Exception`, `Transferable`

Transferable |  | ActionEvent