From: Patrick Niemeyer <pat@pa...> - 2005-05-28 04:33:10
On Apr 25, 2005, at 9:52 PM, MICHAEL PITONIAK wrote:
> below is a catch block in my code. it is catching ThreadDeath
> 'Errors" thrown by me stopping threads, but why? ThreadDeath
> derives from Error, not Exception in which TargetError derives. Why
> would this catch an Error (ThreadDeath)?
I believe we will wrap any kind of throwable thrown in the form of an
invocation target exception (anything thrown on behalf of the called
code) so that you can handle it in your script. If we don't wrap it
then it will stop the interpreter...
Get latest updates about Open Source Projects, Conferences and News.