Opened 12 years ago

Closed 12 years ago

#5386 closed Feature Requests (fixed)

Add option to get rid of "unknown" in exception diagnostic message

Reported by: Pavel Machyniak <machyniak@…> Owned by: Emil Dotchevski
Milestone: To Be Determined Component: exception
Version: Boost 1.46.0 Severity: Cosmetic
Keywords: Cc:

Description

I think it would be nice to have option to exclude from exception diagnostic string messages like "Throw in function (unknown)" and only include those if the context is known.

Reason: those messages usually do not add any information.

For example:

Throw in function (unknown)
Dynamic exception type: struct Exceptions::TestException
std::exception::what: Unknown exception
[struct Exceptions::ErrorCode_ *] = 123

Would become:

Dynamic exception type: struct Exceptions::TestException
[struct Exceptions::ErrorCode_ *] = 123

Change History (1)

comment:1 by Emil Dotchevski, 12 years ago

Resolution: fixed
Status: newclosed

Trunk revision 70989

Note: See TracTickets for help on using tickets.