Correct exception inheritance

Needed to publically inherit runtime_error so that we can access it's
methods