summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/javax/swing/UnsupportedLookAndFeelException.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/swing/UnsupportedLookAndFeelException.java')
-rw-r--r--libjava/classpath/javax/swing/UnsupportedLookAndFeelException.java18
1 files changed, 14 insertions, 4 deletions
diff --git a/libjava/classpath/javax/swing/UnsupportedLookAndFeelException.java b/libjava/classpath/javax/swing/UnsupportedLookAndFeelException.java
index f99c0ac19f7..b65119a00bc 100644
--- a/libjava/classpath/javax/swing/UnsupportedLookAndFeelException.java
+++ b/libjava/classpath/javax/swing/UnsupportedLookAndFeelException.java
@@ -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 @@ exception statement from your version. */
package javax.swing;
-
+/**
+ * Thrown by the {@link 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);
}
}
OpenPOWER on IntegriCloud