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/IllegalComponentStateException.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/IllegalComponentStateException.java')
-rw-r--r-- | libjava/java/awt/IllegalComponentStateException.java | 58 |
1 files changed, 27 insertions, 31 deletions
diff --git a/libjava/java/awt/IllegalComponentStateException.java b/libjava/java/awt/IllegalComponentStateException.java index d10d107ac88..413ed33a4f9 100644 --- a/libjava/java/awt/IllegalComponentStateException.java +++ b/libjava/java/awt/IllegalComponentStateException.java @@ -1,5 +1,5 @@ -/* IllegalComponentStateException.java -- Bad component state - Copyright (C) 1999 Free Software Foundation, Inc. +/* IllegalComponentStateException.java -- bad component state + Copyright (C) 1999, 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -39,37 +39,33 @@ exception statement from your version. */ package java.awt; /** - * This exception is thrown when the requested operation failed because - * a component was not in the proper state. - * - * @author Aaron M. Renn (arenn@urbanophile.com) - */ + * This exception is thrown when the requested operation failed because + * a component was not in the proper state. + * + * @author Aaron M. Renn <arenn@urbanophile.com> + * @status updated to 1.4 + */ public class IllegalComponentStateException extends IllegalStateException { + /** + * Compatible with JDK 1.0+. + */ + private static final long serialVersionUID = -1889339587208144238L; -/** - * Initializes a new instance of <code>IllegalComponentStateException</code> - * with the specified detailed error message. - * - * @param message The detailed error message. - */ -public -IllegalComponentStateException(String message) -{ - super(message); -} - -/*************************************************************************/ - -/** - * Initializes a new instance of <code>IllegalComponentStateException</code> - * with no detailed error message. - */ -public -IllegalComponentStateException() -{ - super(); -} + /** + * Create a new instance with no detailed error message. + */ + public IllegalComponentStateException() + { + } + /** + * Create a new instance with the specified detailed error message. + * + * @param message the detailed error message + */ + public IllegalComponentStateException(String message) + { + super(message); + } } // class IllegalComponentStateException - |