Exception: constructor arguments?

Johannes Pfau spam at example.com
Sun Aug 14 08:15:25 PDT 2011


mimocrocodil wrote:
>Where I can find description of Exception class?
>
>I seen this URLs, but they do not contain this information:
>
>http://www.d-programming-language.org/phobos/std_exception.html
>http://www.d-programming-language.org/phobos/core_exception.html
>http://www.d-programming-language.org/errors.html

The Exception class is defined in druntime's object.d (as object.d is
 automatically imported).

The API documentation for object is here:
http://www.d-programming-language.org/phobos/object.html
I think there's no link for it in the side-bar. I found it by
guessing :-)

However, there's almost no documentation for Throwable and Exception, so
you may want to have a look at the source code:

Throwable:
https://github.com/D-Programming-Language/druntime/blob/master/src/object_.d#L1225
Exception:
https://github.com/D-Programming-Language/druntime/blob/master/src/object_.d#L1328

-- 
Johannes Pfau



More information about the Digitalmars-d-learn mailing list