This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.

1008. nested_exception wording unclear

Section: 16.9.7 [except.nested] Status: NAD Submitter: Alisdair Meredith Opened: 2009-03-11 Last modified: 2016-02-10

Priority: Not Prioritized

View all other issues in [except.nested].

View all issues with NAD status.


Addresses JP 31

It is difficult to understand in which case nested_exception is applied.

[ Summit: ]

Alisdair will add an example in an update to N2619.

[ 2009-10 Santa Cruz: ]

It doesn't appear that N2619 really addresses this. Alisdair to propose wording.

[ 2010 Pittsburgh: ]

Mark issue 1008 as NAD, the type is adequately described.


nested_exception is intended to be inherited from by exception classes that are to be thrown during the handling of another exception, i.e. when translating from one exception type to another. nested_exception allows the originally thrown exception to be easily retained in that scenario.

Proposed resolution: