Revision: 8208
http://playerstage.svn.sourceforge.net/playerstage/?rev=8208&view=rev
Author: hsujohnhsu
Date: 2009-08-18 23:07:02 +0000 (Tue, 18 Aug 2009)
Log Message:
-----------
throw error when fail to open SimulationIface.
Modified Paths:
--------------
code/gazebo/trunk/libgazebo/Client.cc
Modified: code/gazebo/trunk/libgazebo/Client.cc
===================================================================
--- code/gazebo/trunk/libgazebo/Client.cc 2009-08-18 00:56:50 UTC (rev
8207)
+++ code/gazebo/trunk/libgazebo/Client.cc 2009-08-18 23:07:02 UTC (rev
8208)
@@ -171,8 +171,8 @@
}
catch (std::string e)
{
- std::cerr << "Error Opening SimulationIface [" << e << "]\n";
- //exit(0); // don't exit, retry
+ stream << "Error Opening SimulationIface [" << e << "]\n";
+ throw(stream.str());
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit