Changed to runtime_error for exceptions