/[classpath]/classpath/java/awt/datatransfer/UnsupportedFlavorException.java
ViewVC logotype

Diff of /classpath/java/awt/datatransfer/UnsupportedFlavorException.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mark, Tue Jan 22 22:26:58 2002 UTC revision 1.5 by ericb, Sun Feb 24 04:25:16 2002 UTC
# Line 1  Line 1 
1  /* UnsupportedFlavorException.java -- Data flavor is not valid.  /* UnsupportedFlavorException.java -- ata flavor is not valid
2     Copyright (C) 1999 Free Software Foundation, Inc.     Copyright (C) 1999, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  package java.awt.datatransfer;  package java.awt.datatransfer;
40    
41  /**  /**
42    * The data flavor requested is not supported for the transfer data.   * The data flavor requested is not supported for the transfer data.
43    *   *
44    * @author Aaron M. Renn (arenn@urbanophile.com)   * @author Aaron M. Renn <arenn@urbanophile.com>
45    */   * @see Transferable#getTransferData(DataFlavor)
46  public class UnsupportedFlavorException extends Exception   * @status updated to 1.4
47     */
48    public class UnsupportedFlavorException extends Exception
49  {  {
50      /**
51  /**     * Compatible with JDK 1.1+.
52    * Initializes a new instance of <code>UnsupportedDataFlavor</code>     */
53    * for the specified data flavor.    private static final long serialVersionUID = 5383814944251665601L;
54    *  
55    * @param flavor The data flavor that is not supported.    /**
56    */     * Initializes a new instance of <code>UnsupportedDataFlavor</code>
57  public     * for the specified data flavor.
58  UnsupportedFlavorException(DataFlavor flavor)     *
59  {     * @param flavor the data flavor that is not supported
60    super(flavor.getHumanPresentableName());     */
61  }    public UnsupportedFlavorException(DataFlavor flavor)
62      {
63        super(flavor == null ? null : flavor.getHumanPresentableName());
64      }
65  } // class UnsupportedFlavorException  } // class UnsupportedFlavorException
   

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26