X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2FrxSimpleTest%2FrxSimpleTest.hpp;h=f068ef189b5c8787e3765c31e4a7d621e34282f9;hp=7e900338debca06e03c520207a069c4b356f3a1c;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/example/diameter/rxSimpleTest/rxSimpleTest.hpp b/example/diameter/rxSimpleTest/rxSimpleTest.hpp index 7e90033..f068ef1 100755 --- a/example/diameter/rxSimpleTest/rxSimpleTest.hpp +++ b/example/diameter/rxSimpleTest/rxSimpleTest.hpp @@ -55,20 +55,20 @@ class RxSimpleTest : public anna::comm::Application { std::string a_initialWorkingDirectory; - void initialize() throw(anna::RuntimeException); // HTTP - void run() throw(anna::RuntimeException); + void initialize() noexcept(false); // HTTP + void run() noexcept(false); public: RxSimpleTest(); - MyDiameterEntity *getEntity() const throw(anna::RuntimeException); - MyLocalServer *getServer() const throw(anna::RuntimeException); - MyDiameterEngine *getEngine() const throw(anna::RuntimeException); - MyCommunicator *getCommunicator() throw() { return a_communicator; } - void startService() throw(anna::RuntimeException); - anna::diameter::comm::OriginHost *getOriginHost(const std::string &name) const throw(anna::RuntimeException); + MyDiameterEntity *getEntity() const noexcept(false); + MyLocalServer *getServer() const noexcept(false); + MyDiameterEngine *getEngine() const noexcept(false); + MyCommunicator *getCommunicator() { return a_communicator; } + void startService() noexcept(false); + anna::diameter::comm::OriginHost *getOriginHost(const std::string &name) const noexcept(false); - anna::xml::Node* asXML(anna::xml::Node* parent) const throw(); + anna::xml::Node* asXML(anna::xml::Node* parent) const ; }; #endif