Permalink
Browse files

Added missing throws.

  • Loading branch information...
1 parent 79d4f32 commit 444049eafa3b540f1c8fe085244e8912d667df4e @freundlich freundlich committed Jun 5, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 src/sgeroids/model/local/object.cpp
  2. +1 −0 src/sgeroids/view/planar/object.cpp
@@ -600,6 +600,7 @@ sgeroids::model::local::object::search_spaceship_with_id(
*(it->second)));
if(!maybe_a_ship)
+ throw
sgeroids::exception(
_context.get()+FCPPT_TEXT(": The entity id ")+
fcppt::insert_to_fcppt_string(
@@ -313,6 +313,7 @@ sgeroids::view::planar::object::change_thrust(
*(it->second)));
if(!maybe_a_ship)
+ throw
sgeroids::exception(
FCPPT_TEXT("view: change_thrust: The entity id ")+
fcppt::insert_to_fcppt_string(

0 comments on commit 444049e

Please sign in to comment.