diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-09 04:26:17 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-09 04:26:17 +0000 |
commit | 71946bc3b406beb3d1fb9b447204e4236d645c43 (patch) | |
tree | cdf9958b411887bead2263ea8ef0bdfc8eae6319 /libjava/java/awt/AWTError.java | |
parent | 0fc014c9ce8232f14be66144bf5a4c08a3e5ffe7 (diff) | |
download | ppe42-gcc-71946bc3b406beb3d1fb9b447204e4236d645c43.tar.gz ppe42-gcc-71946bc3b406beb3d1fb9b447204e4236d645c43.zip |
AWT/Swing merge from GNU Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56147 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/awt/AWTError.java')
-rw-r--r-- | libjava/java/awt/AWTError.java | 40 |
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 |