I added API docs for the UnsupportedLookAndFeelException class:

2006-03-03  David Gilbert  <[EMAIL PROTECTED]>

        * javax/swing/UnsupportedLookAndFeelException.java
        (UnsupportedLookAndFeelException): Changed argument name, updated API
        docs.

Regards,

Dave
Index: javax/swing/UnsupportedLookAndFeelException.java
===================================================================
RCS file: 
/sources/classpath/classpath/javax/swing/UnsupportedLookAndFeelException.java,v
retrieving revision 1.5
diff -u -r1.5 UnsupportedLookAndFeelException.java
--- javax/swing/UnsupportedLookAndFeelException.java    13 Sep 2005 09:17:21 
-0000      1.5
+++ javax/swing/UnsupportedLookAndFeelException.java    3 Mar 2006 10:19:52 
-0000
@@ -1,5 +1,5 @@
 /* UnsupportedLookAndFeelException.java -- 
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2006, Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -37,11 +37,21 @@
 
 package javax.swing;
 
-
+/**
+ * Thrown by the [EMAIL PROTECTED] UIManager#setLookAndFeel(LookAndFeel)} 
method when the
+ * specified look and feel is not supported on the current platform.
+ * 
+ * @see LookAndFeel#isSupportedLookAndFeel()
+ */
 public class UnsupportedLookAndFeelException extends Exception
 {
-  public UnsupportedLookAndFeelException(String a)
+  /**
+   * Creates a new exception instance with the specified message.
+   * 
+   * @param s  the exception message.
+   */
+  public UnsupportedLookAndFeelException(String s)
   {
-    super(a);
+    super(s);
   }
 }

Reply via email to