From: Lendvai Attila <Attila.L<endvai@ne...> - 2004-04-09 07:28:50
:: > i think of things like not using nested exceptions,
:: > collection enumeration, and probably a lot much more...=20
:: Um, could you elaborate?=20
:: By nested exception, I assume you mean using the "cause"=20
:: field in exceptions. I agree there - it should be used a lot more.
yep, the script errors are hard to trace, for which i'm not used to
since working with java.
well, except the cryptic ClassNotFound exceptions fo the lame java
runtime, that at many places still throws the CNF with the root class
instead of it's dependency that was actually not found.
:: What do you mean by "collection enumeration"?
nothing serious, just that BeanShell has an extra machinery to implement
pluggable enumerations so that it works with pre 1.3 vm's.
and then i quickly generalized the issue that probably there are a few
places like these. which is not a big problem if it works, but i would
love to have nested exceptions... :)
ps: the beanshell based ant replacement progresses well. today i will
hopefully finish filesets...