Catch runtime_error.