X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcomm%2Fhandler%2FClientSocket.cpp;h=d2f7aaec8b7acb4420641e841b8217c0cde2aeac;hp=34b2b34e8e6c8bc082461cab353ea7e871bedd1d;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/comm/handler/ClientSocket.cpp b/source/comm/handler/ClientSocket.cpp index 34b2b34..d2f7aae 100644 --- a/source/comm/handler/ClientSocket.cpp +++ b/source/comm/handler/ClientSocket.cpp @@ -24,7 +24,7 @@ using namespace std; using namespace anna; void comm::handler::ClientSocket::initialize() -throw(RuntimeException) { +noexcept(false) { if(a_clientSocket == NULL) { string msg(asString()); msg += " | comm::ClientSocket was not established"; @@ -43,7 +43,7 @@ throw(RuntimeException) { * [Tx] -> Communicator */ void comm::handler::ClientSocket::finalize() -throw() { +{ if(a_clientSocket == NULL) return; @@ -58,7 +58,7 @@ throw() { } void comm::handler::ClientSocket::clone() -throw(RuntimeException) { +noexcept(false) { if(a_clientSocket->isConnected() == true) a_clientSocket->close(); @@ -76,7 +76,7 @@ throw(RuntimeException) { } string comm::handler::ClientSocket::asString() const -throw() { +{ string result("comm::handler::ClientSocket { "); result += comm::Handler::asString(); result += " | "; @@ -85,7 +85,7 @@ throw() { } xml::Node* comm::handler::ClientSocket::asXML(xml::Node* parent) const -throw() { +{ xml::Node* result = parent->createChild("comm.handler.ClientSocket"); comm::Handler::asAttribute(result);