projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dynamic exceptions
[anna.git]
/
source
/
test
/
Control.cpp
diff --git
a/source/test/Control.cpp
b/source/test/Control.cpp
index
d5c78e4
..
6daab72
100644
(file)
--- a/
source/test/Control.cpp
+++ b/
source/test/Control.cpp
@@
-40,7
+40,7
@@
test::Control::Control (comm::Communicator* engine) :
{;}
bool test::Control::canContinue (const comm::socket::Client&)
{;}
bool test::Control::canContinue (const comm::socket::Client&)
-
throw (RuntimeException
)
+
noexcept(false
)
{
LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::canContinue", ANNA_FILE_LOCATION));
{
LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::canContinue", ANNA_FILE_LOCATION));
@@
-60,7
+60,7
@@
bool test::Control::canContinue (const comm::socket::Client&)
}
void test::Control::delay ()
}
void test::Control::delay ()
-
throw (RuntimeException
)
+
noexcept(false
)
{
LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::delay", ANNA_FILE_LOCATION));
{
LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::delay", ANNA_FILE_LOCATION));
@@
-88,7
+88,7
@@
void test::Control::delay ()
// Aproximación del valor que lleva en mensaje en cola I/O
Millisecond test::Control::latency (const Millisecond& init)
// Aproximación del valor que lleva en mensaje en cola I/O
Millisecond test::Control::latency (const Millisecond& init)
-
throw (RuntimeException
)
+
noexcept(false
)
{
LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::latency", ANNA_FILE_LOCATION));
{
LOGMETHOD (TraceMethod ttmm (Logger::Local7, "test::Control::latency", ANNA_FILE_LOCATION));
@@
-105,7
+105,7
@@
Millisecond test::Control::latency (const Millisecond& init)
}
void test::Control::report ()
}
void test::Control::report ()
- throw ()
+
{
const Millisecond serviceTime = anna::Millisecond::getTime () - a_initTime;
{
const Millisecond serviceTime = anna::Millisecond::getTime () - a_initTime;
@@
-131,7
+131,7
@@
void test::Control::report ()
}
void test::Control::stop ()
}
void test::Control::stop ()
-
throw (RuntimeException
)
+
noexcept(false
)
{
if (a_engine.hasRequestedStop () == true)
return;
{
if (a_engine.hasRequestedStop () == true)
return;
@@
-141,7
+141,7
@@
void test::Control::stop ()
}
xml::Node* test::Control::asXML (xml::Node* parent)
}
xml::Node* test::Control::asXML (xml::Node* parent)
- throw ()
+
{
xml::Node* result = parent->createChild ("test.Control");
{
xml::Node* result = parent->createChild ("test.Control");