-
Committer:
Tarmac
-
Author(s):
Michi Henning
-
Date:
2013-12-17 01:48:32 UTC
-
mfrom:
(113.2.6 what-fix)
-
Revision ID:
tarmac-20131217014832-76rm9a4d3127zhxv
Changed unity::Exception to return the same string as to_string(). This means that it is no longer necessary
to treat unity::Exception differently from std::exception for structured exception handling: catching std::exception
will catch unity::Exception as well, and call what() produces the correct result. The pointer returned from what()
remains valid until the next call to what(), or until the exception is destroyed.
Added deep-copy semantics for exceptions.
Removed pimpling of unity::Exception, so there is no longer a class called ExceptionImplBase. Pimpling with
inheritance and deep-copy just gets too messy and confusing.
Approved by James Henstridge, PS Jenkins bot.