Adding more information to exceptions
Jonathan M Davis
jmdavisProg at gmx.com
Wed Jan 30 13:10:14 PST 2013
On Wednesday, January 30, 2013 12:58:10 Ali Çehreli wrote:
> On 01/30/2013 12:05 PM, Jesse Phillips wrote:
> > On Tuesday, 29 January 2013 at 21:53:46 UTC, Ali Çehreli wrote:
> >> Here is a RAII idea that takes advantage of exception chaining without
> >> directly using the 'next' parameter.
> >
> > umm, so why can't using next directly be valid?
>
> The OP had quoted the documentation:
>
> http://dlang.org/phobos/object.html#.Exception
>
> "The next parameter is used internally and should be always be null when
> passed by user code."
Really? That's a weird note. I don't see any reason for it to not be used by
user code. I wonder why that note is there.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list