Defined a macros TINY_DNG_ASSERT, to replace the previous assert(...) calls. This macros tests the same condition, but throws an std::runtime_error exception instead of terminating the program. These exceptions can be caught by the calling code to more gracefully recover.
Defined a macros TINY_DNG_ASSERT, to replace the previous assert(...) calls. This macros tests the same condition, but throws an std::runtime_error exception instead of terminating the program. These exceptions can be caught by the calling code to more gracefully recover.