[jvm-l] Re: Catching by object identity

2007-12-22 Thread John Wilson
On Dec 22, 2007 3:48 AM, John Cowan [EMAIL PROTECTED] wrote: In the language Im implementing, catching is done not based on the class of the thrown object but on its identity. That is, in the general case, the throw will have to wrap the object in a descendant of RuntimeException (which I

[jvm-l] Re: Catching by object identity

2007-12-22 Thread Charles Oliver Nutter
John Wilson wrote: On Dec 22, 2007 3:48 AM, John Cowan [EMAIL PROTECTED] wrote: In the language Im implementing, catching is done not based on the class of the thrown object but on its identity. That is, in the general case, the throw will have to wrap the object in a descendant of