Remove dynamic exceptions
[anna.git] / source / timex / internal / TickConsumer.cpp
index 4a36404..e037944 100644 (file)
@@ -27,7 +27,7 @@ using namespace anna;
 // (2) Puede ser que se invoque mas de una vez.
 //--------------------------------------------------------------------------------------------
 void anna::timex::TickConsumer::initialize()
-throw(RuntimeException) {
+noexcept(false) {
   if(a_pipe [0] != -1)                                        // (2)
     return;
 
@@ -41,7 +41,7 @@ throw(RuntimeException) {
 }
 
 void anna::timex::TickConsumer::apply()
-throw(RuntimeException) {
+noexcept(false) {
   char buffer [256];
 
   if(a_pipe [0] == -1)
@@ -65,7 +65,7 @@ throw(RuntimeException) {
 }
 
 void anna::timex::TickConsumer::finalize()
-throw() {
+{
   if(a_timeController.a_tickProducer)
     a_timeController.a_tickProducer->requestStop();
 }
@@ -79,7 +79,7 @@ throw() {
  * el control de tiempos.
  */
 void anna::timex::TickConsumer::clone()
-throw(RuntimeException) {
+noexcept(false) {
   close(a_pipe [0]);
   close(a_pipe [1]);
 
@@ -96,7 +96,7 @@ throw(RuntimeException) {
 }
 
 std::string anna::timex::TickConsumer::asString() const
-throw() {
+{
   string result("timex::TickConsumer { ");
   result += Handler::asString();
   return result += functions::asString(" | Pipe (Read = %d, Write = %d) } ", a_pipe [0], a_pipe [1]);