Throwing runtime_errors instead of const chars*