Remove dynamic exceptions
[anna.git] / source / comm / handler / ClientSocket.cpp
index 34b2b34..d2f7aae 100644 (file)
@@ -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);