AWTError.java: Extend Error, not IllegalStateException.
authorTom Tromey <tromey@redhat.com>
Mon, 4 Dec 2000 01:54:34 +0000 (01:54 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 4 Dec 2000 01:54:34 +0000 (01:54 +0000)
* java/awt/AWTError.java: Extend Error, not
IllegalStateException.

From-SVN: r37987

libjava/ChangeLog
libjava/java/awt/AWTError.java

index d144635..66e27c0 100644 (file)
@@ -1,5 +1,8 @@
 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.
index f276177..1ba1cbb 100644 (file)
@@ -8,16 +8,16 @@ details.  */
 
 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);