This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: error diagnostics in 1.6.97
- From: Bruce Lewis <brlewis at alum dot mit dot edu>
- To: kawa at sources dot redhat dot com
- Date: 22 Jan 2002 13:19:19 -0500
- Subject: Re: error diagnostics in 1.6.97
- References: <E16Qv4N-0004Bp-00@softdev>
The patch below got me a more useful error message.
Index: kawa/standard/read.java
===================================================================
RCS file: /cvs/kawa/kawa/kawa/standard/read.java,v
retrieving revision 1.7
diff -u -r1.7 read.java
--- read.java 2000/05/29 05:45:07 1.7
+++ read.java 2002/01/22 18:17:06
@@ -27,7 +27,8 @@
}
catch (gnu.text.SyntaxException e)
{
- throw new RuntimeException("syntax error in read: " + e.toString ());
+ throw new RuntimeException("syntax error in read: "
+ + e.getMessages().getErrors().toString());
}
catch (java.io.IOException e)
{