From c06093a0a3f29c3eda90917197caaca34afef58d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 4 Dec 2000 01:54:34 +0000 Subject: AWTError.java: Extend Error, not IllegalStateException. * java/awt/AWTError.java: Extend Error, not IllegalStateException. From-SVN: r37987 --- libjava/java/awt/AWTError.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libjava/java/awt/AWTError.java') diff --git a/libjava/java/awt/AWTError.java b/libjava/java/awt/AWTError.java index f276177..1ba1cbb 100644 --- a/libjava/java/awt/AWTError.java +++ b/libjava/java/awt/AWTError.java @@ -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 * @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); -- cgit v1.1