digitalmars.D - class Exception
- Steve Teale (1/1) Mar 18 2009 Another dumb question - where is class Exception defined/described?
- Denis Koroskin (3/4) Mar 18 2009 dmd1\src\phobos\object.d
- Steve Teale (3/9) Mar 18 2009 Yes, eventually found it. Also dmd2, dmd\src\druntime\src\compiler\dmd\o...
- Denis Koroskin (2/15) Mar 18 2009 I believe the former is automatically generated from the latter one.
- Sean Kelly (4/13) Mar 18 2009 They're base classes for different categories of errors, somewhat like
Another dumb question - where is class Exception defined/described?
Mar 18 2009
On Wed, 18 Mar 2009 17:01:25 +0300, Steve Teale <steve.teale britseyeview.com> wrote:Another dumb question - where is class Exception defined/described?dmd1\src\phobos\object.d dmd2\src\druntime\import\object.di
Mar 18 2009
Denis Koroskin Wrote:On Wed, 18 Mar 2009 17:01:25 +0300, Steve Teale <steve.teale britseyeview.com> wrote: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?Another dumb question - where is class Exception defined/described?dmd1\src\phobos\object.d dmd2\src\druntime\import\object.di
Mar 18 2009
On Wed, 18 Mar 2009 17:30:07 +0300, Steve Teale <steve.teale britseyeview.com> wrote:Denis Koroskin Wrote:I believe the former is automatically generated from the latter one.On Wed, 18 Mar 2009 17:01:25 +0300, Steve Teale <steve.teale britseyeview.com> wrote: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?Another dumb question - where is class Exception defined/described?dmd1\src\phobos\object.d dmd2\src\druntime\import\object.di
Mar 18 2009
== Quote from Steve Teale (steve.teale britseyeview.com)'s articleDenis Koroskin Wrote:because I remembered seeing once a distinction being made between class Exception, and class ErrorOn Wed, 18 Mar 2009 17:01:25 +0300, Steve Teale <steve.teale britseyeview.com> wrote:Yes, eventually found it. Also dmd2, dmd\src\druntime\src\compiler\dmd\object_.d. I was lookingAnother dumb question - where is class Exception defined/described?dmd1\src\phobos\object.d dmd2\src\druntime\import\object.diThese seem to be defined identically - is one of them defunct?They're base classes for different categories of errors, somewhat like in Java. See core/exception.di for a run-down.
Mar 18 2009