Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TclJava error handling

0 views
Skip to first unread message

Glenn Vanderburg

unread,
Mar 29, 1996, 3:00:00 AM3/29/96
to
I've been playing with the 0.1 release of the TclJava interface, and I'm
puzzled about something.

What is the reason for not using Java exceptions to handle exceptional
returns from Tcl code? It seems to me that using Java's exceptions would
simplify code in several ways, in addition to making the interface more
"Java-like" and natural.


--
---glv

Ken Corey

unread,
Mar 29, 1996, 3:00:00 AM3/29/96
to

The reason is probably that we didn't think about all the ramifications
of such an interface. From the version number alone you can see that
it's definitely a work in progress...;^) We were mostly interested in
seeing how hard such an interface would be to build in a usable fashion.

Why don't you change the code appropriately to use exceptions, send
it back to me, and I'll put it into the tcljava package.

--
Ken Corey kco...@eng.sun.com 415/336-4028

0 new messages