* java/awt/AWTError.java: Extend Error, not
IllegalStateException.
From-SVN: r37987
2000-12-03 Tom Tromey <tromey@redhat.com>
+ * java/awt/AWTError.java: Extend Error, not
+ IllegalStateException.
+
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new file.
* java/awt/geom/RoundRectangle2D.java: New file.
package java.awt;
-/**
+/** An exception of this type is thrown by AWT in some situations,
+ * usually when major problems are encountered.
* @author Tom Tromey <tromey@cygnus.com>
* @date April 8, 2000
*/
-
-/* Status: Believed complete and correct to JDK 1.2. */
-
-
-public class AWTError extends IllegalStateException
+public class AWTError extends Error
{
+ /** Make a new instance of AWTError
+ * @param s Text associated with the exception
+ */
public AWTError (String s)
{
super (s);