JSR-62 (Final)

java.awt.datatransfer
Class UnsupportedFlavorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.awt.datatransfer.UnsupportedFlavorException
All Implemented Interfaces:
Serializable

public class UnsupportedFlavorException
extends Exception

Signals that the requested data is not supported in this flavor.

See Also:
Transferable.getTransferData(java.awt.datatransfer.DataFlavor), Serialized Form

Constructor Summary
UnsupportedFlavorException(DataFlavor flavor)
          Constructs an UnsupportedFlavorException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedFlavorException

public UnsupportedFlavorException(DataFlavor flavor)
Constructs an UnsupportedFlavorException.

Parameters:
flavor - the flavor object which caused the exception
Throws:
NullPointerException - if flavor is null

JSR-62 (Final)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, California 94303, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.