BlackToppStudios / Mezz_Foundation

Foundational Data types that enforce no opinions on how to build games and provide many facilities that complex games need. This largely avoids graphics and physics, but provides tools like the SortedVector, CountedPtr and HashedString classes.
GNU General Public License v3.0
3 stars 0 forks source link

Replace std::exceptions with more descriptive Mezz_exceptions throughout Mezz_Foundation #46

Closed MakoEnergy closed 4 years ago

MakoEnergy commented 5 years ago

At the initial time of porting std::exceptions were used in the Base64 namespace because Mezzanine::Exception wasn't yet ported to Mezz_Foundation. Once the exception framework is moved over the exceptions raised by methods in the Base64 namespace should be replaced with potentially more descriptive Mezzanine Exceptions.

Edit: This now applies to a handful of classes in the Foundation. Mostly std::runtime_errors were used in place of Mezz exceptions and they should be properly converted once Mezz exceptions are ready.