KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwt > awt > datatransfer > UnsupportedFlavorException


1 /*
2    SwingWT
3    Copyright(c)2003-2004, Tomer Barletz
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: tomerb@users.sourceforge.net
9 */

10
11 package swingwt.awt.datatransfer;
12
13 public class UnsupportedFlavorException extends Exception JavaDoc {
14
15   public UnsupportedFlavorException(DataFlavor flavor) {
16     super( (flavor != null) ? flavor.getHumanPresentableName() : null);
17   }
18 }
19
Popular Tags