rakhimov / scram

Probabilistic Risk Analysis Tool (fault tree analysis, event tree analysis, etc.)
https://scram-pra.org
GNU General Public License v3.0
133 stars 54 forks source link

Redesign Exception classes w/ boost::exception #219

Closed rakhimov closed 6 years ago

rakhimov commented 7 years ago

The current scram exception classes are string-ly context & error carriers, which are noexcept-incorrect, localization unfriendly, and inflexible. For example, dealing with libxml2 errors in this manner is a nightmare.

Boost exception library provides a solid framework to properly design exception classes.

The new design should help with proper libxml2 error extraction (#218) and translation & localization of error messages (#216).