summaryrefslogtreecommitdiff
path: root/libjava/java/awt/AWTError.java
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@waitaki.otago.ac.nz>2002-08-09 04:26:17 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2002-08-09 05:26:17 +0100
commit7bde45b2eb84502b62e77e46d947e46dcbd333d6 (patch)
treecdf9958b411887bead2263ea8ef0bdfc8eae6319 /libjava/java/awt/AWTError.java
parent097684ce62b505168739fc98e952f92a8719a1fa (diff)
AWT/Swing merge from GNU Classpath.
From-SVN: r56147
Diffstat (limited to 'libjava/java/awt/AWTError.java')
-rw-r--r--libjava/java/awt/AWTError.java40
1 files changed, 21 insertions, 19 deletions
diff --git a/libjava/java/awt/AWTError.java b/libjava/java/awt/AWTError.java
index 6d3ad61d2f3..1c253cb41a6 100644
--- a/libjava/java/awt/AWTError.java
+++ b/libjava/java/awt/AWTError.java
@@ -1,5 +1,5 @@
/* AWTError.java -- A serious AWT error occurred.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -39,24 +39,26 @@ exception statement from your version. */
package java.awt;
/**
- * This error is thrown when a critical AWT error occurs.
- *
- * @author Aaron M. Renn (arenn@urbanophile.com)
- */
+ * This error is thrown when a critical Abstract Window Toolkit (AWT) error
+ * occurs.
+ *
+ * @author Aaron M. Renn <arenn@urbanophile.com>
+ * @status updated to 1.4
+ */
public class AWTError extends Error
{
+ /**
+ * Compatible with JDK 1.0+.
+ */
+ private static final long serialVersionUID = -1819846354050686206L;
-/**
- * Initializes a new instance of <code>AWTError</code> with the specified
- * descriptive error message.
- *
- * @param message The descriptive error message.
- */
-public
-AWTError(String message)
-{
- super(message);
-}
-
-} // class AWTError
-
+ /**
+ * Create a new instance with the specified descriptive error message.
+ *
+ * @param message the descriptive error message
+ */
+ public AWTError(String message)
+ {
+ super(message);
+ }
+} // class AWTError