catch/rethrow

Gregor Richards Richards at codu.org
Wed Jun 7 10:10:51 PDT 2006


Sean Kelly wrote:
> But it relies on undocumented (I believe) knowledge that all exceptions 
> in D are objects
In D, all classes derive from Object, and you can only throw classes, so 
the fact that you can only throw things derived from Object is implicit 
in the structure of the language.

  - Gregor Richards



More information about the Digitalmars-d mailing list