eclipse Java interface - better exception messages

From: Stefano Novello <stefano.novello_at_parc-technologies.com>
Date: Fri 05 Apr 2002 02:20:51 PM GMT
Message-ID: <0B9686DD2E83D411B67200508B9A9DA2459E92@LON-SRV2>
Hello,

When writing a term from Java, if the term has been badly constructed and
does not
only contain EclipeTerms Strings and Numbers an exception is thrown.

This exception just says a wrong type was encountered. Could we mention the
class name in the message?
It would then be easier to track down such a bug. Currently this can be
quite hard if you are writing out
a large term.

We could also catch this early when constructing the EclipseTermImpl as
well.

Stefano

2nd Floor The Tower Building	EMAIL: Stefano.Novello@parc-technologies.com
11 York Road                      TEL: +44 (0)20 72614068
SE1 7NX LONDON                    

This e-mail message is for the sole use of the intended recipient(s) - its
contents are the property of Parc Technologies Limited (or its licensors)
and are confidential. Please do not copy, review, use (except for the
intended purposes), disclose or distribute the e-mail or its contents or
allow anyone else to do so without our prior permission. 
Parc Technologies Limited does not guarantee that this e-mail has not been
intercepted and amended nor that it is virus-free. You should carry out your
own virus checks before opening any attachment. Any opinions expressed in
this e-mail message are those of the author and not necessarily Parc
Technologies Limited.

 
Received on Fri Apr 05 15:19:44 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:14 PM GMT GMT