class Exception

Denis Koroskin 2korden at gmail.com
Wed Mar 18 07:38:52 PDT 2009


On Wed, 18 Mar 2009 17:30:07 +0300, Steve Teale <steve.teale at britseyeview.com> wrote:

> Denis Koroskin Wrote:
>
>> On Wed, 18 Mar 2009 17:01:25 +0300, Steve Teale  
>> <steve.teale at britseyeview.com> wrote:
>>
>> > Another dumb question - where is class Exception defined/described?
>>
>> dmd1\src\phobos\object.d
>> dmd2\src\druntime\import\object.di
>
> Yes, eventually found it. Also dmd2,  
> dmd\src\druntime\src\compiler\dmd\object_.d. I was looking because I  
> remembered seeing once a distinction being made between class Exception,  
> and class Error
>
> These seem to be defined identically - is one of them defunct?

I believe the former is automatically generated from the latter one.



More information about the Digitalmars-d mailing list