a_workingNode = NULL;
}
-void RxSimpleTest::startService() throw(anna::RuntimeException) {
+void RxSimpleTest::startService() noexcept(false) {
// Stacks
anna::diameter::stack::Engine &stackEngine = anna::diameter::stack::Engine::instantiate();
ohm.registerOriginHost(originHostName, a_workingNode);
}
-anna::diameter::comm::OriginHost *RxSimpleTest::getOriginHost(const std::string &name) const throw(anna::RuntimeException) {
+anna::diameter::comm::OriginHost *RxSimpleTest::getOriginHost(const std::string &name) const noexcept(false) {
anna::diameter::comm::OriginHostManager &ohm = anna::diameter::comm::OriginHostManager::instantiate();
anna::diameter::comm::OriginHost *result = ohm.getOriginHost(name);
return result;
}
-MyDiameterEntity *RxSimpleTest::getEntity() const throw(anna::RuntimeException) {
+MyDiameterEntity *RxSimpleTest::getEntity() const noexcept(false) {
MyDiameterEntity *result = (MyDiameterEntity *)(a_workingNode->getEntity());
if (!result)
throw anna::RuntimeException("No entity created", ANNA_FILE_LOCATION);
return result;
}
-MyLocalServer *RxSimpleTest::getServer() const throw(anna::RuntimeException) {
+MyLocalServer *RxSimpleTest::getServer() const noexcept(false) {
MyLocalServer *result = (MyLocalServer *)(a_workingNode->getDiameterServer());
if (!result)
throw anna::RuntimeException("No local server created", ANNA_FILE_LOCATION);
}
void RxSimpleTest::initialize()
-throw(anna::RuntimeException) {
+noexcept(false) {
anna::comm::Application::initialize();
CommandLine& cl(anna::CommandLine::instantiate());
anna::comm::Communicator::WorkMode::_v workMode(anna::comm::Communicator::WorkMode::Single);
}
void RxSimpleTest::run()
-throw(anna::RuntimeException) {
+noexcept(false) {
LOGMETHOD(anna::TraceMethod tm("RxSimpleTest", "run", ANNA_FILE_LOCATION));
anna::diameter::stack::Engine::instantiate();
}
anna::xml::Node* RxSimpleTest::asXML(anna::xml::Node* parent) const
-throw() {
+{
anna::xml::Node* result = parent->createChild("rxSimpleTest");
anna::comm::Application::asXML(result);
// Timming: