catch/rethrow

Johan Granberg lijat.meREM at OVEgmail.com
Wed Jun 7 10:11:32 PDT 2006


Sean Kelly wrote:
> But it relies on undocumented (I believe) knowledge that all exceptions 
> in D are objects 
> ...
> Sean

quote from the specification (statements throw)
"Expression is evaluated and must be an Object reference. The Object 
reference is thrown as an exception."

So it is documented that Exceptions is objects.



More information about the Digitalmars-d mailing list