This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: AWTException
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: AWTException
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 04 Apr 2000 13:59:32 -0600
- Reply-To: tromey at cygnus dot com
Today I tried to compile SAX/xp/xt. One of those needed AWTException,
so I wrote it.
I'm thinking of building our AWT stubs by default. Any reason why
not? Maybe as a "java-awt.so" library?
2000-04-04 Tom Tromey <tromey@cygnus.com>
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added AWTException.java.
* java/awt/AWTException.java: New file.
Tom
Index: Makefile.am
===================================================================
RCS file: /cvs/java/libgcj/libjava/Makefile.am,v
retrieving revision 1.54
diff -u -r1.54 Makefile.am
--- Makefile.am 2000/04/03 18:07:45 1.54
+++ Makefile.am 2000/04/04 19:54:50
@@ -473,6 +473,7 @@
awt_java_source_files = \
java/awt/AWTEvent.java \
+java/awt/AWTException.java \
java/awt/BorderLayout.java \
java/awt/Component.java \
java/awt/Color.java \
Index: java/awt/AWTException.java
===================================================================
RCS file: AWTException.java
diff -N AWTException.java
--- /dev/null Tue May 5 13:32:27 1998
+++ AWTException.java Tue Apr 4 12:54:50 2000
@@ -0,0 +1,27 @@
+/* Copyright (C) 2000 Free Software Foundation
+
+ This file is part of libgcj.
+
+This software is copyrighted work licensed under the terms of the
+Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
+details. */
+
+package java.awt;
+
+/**
+ * @author Tom Tromey <tromey@cygnus.com>
+ * @date Tue Apr 4 2000
+ */
+/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
+ * "The Java Language Specification", ISBN 0-201-63451-1
+ * plus online API docs for JDK 1.2 beta from http://www.javasoft.com.
+ * Status: Believed complete and correct.
+ */
+
+public class AWTException extends Exception
+{
+ public AWTException (String message)
+ {
+ super (message);
+ }
+}