Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Exception naming

Moderators: kris

Posted: 09/24/07 13:27:23

There are places in tango where Exception is thrown, but a TracedException? would be possible.

Are there compiler dependencies to Exception itself?

If not, probably it would be a good idea to make the TracedException? the default and do a renaming

Exception       => NonTracedException
TracedException => Exception

Then it is explicit if you do not want the trace feature, like in case of the out of memory exception. But the majority of exceptions does have it.

Author Message

Posted: 09/27/07 16:03:53

I wonder if that would just complicate things terribly? Can you explain the value a bit more, please, Keinfarbton?