Skip to content

Commit

Permalink
GRAPHICS: Always throw a Common::Exception instead of a bare string
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Oct 25, 2016
1 parent 3ff0bdc commit b7991e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphics/aurora/cursorman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ bool CursorManager::add(const Common::UString &name, const Common::UString &grou

result = g->second.insert(std::make_pair(state, cursor));
if (!result.second)
throw "Cursor already exists";
throw Common::Exception("Cursor already exists");

} catch (...) {
delete cursor;
Expand Down

0 comments on commit b7991e7

Please sign in to comment.