Remove dynamic exceptions
[anna.git] / source / comm / handler / LocalConnection.cpp
index d9f49a4..e1c855f 100644 (file)
@@ -28,7 +28,7 @@ using namespace std;
 using namespace anna;
 
 void comm::handler::LocalConnection::initialize()
-throw(RuntimeException) {
+noexcept(false) {
   LOGMETHOD(TraceMethod traceMethod("comm::handler::LocationConnection", "initialize", ANNA_FILE_LOCATION));
 
   if(a_localConnection == NULL) {
@@ -48,7 +48,7 @@ throw(RuntimeException) {
 }
 
 comm::ClientSocket* comm::handler::LocalConnection::getClientSocket()
-throw() {
+{
   return (a_localConnection != NULL) ? a_localConnection->getClientSocket() : NULL;
 }
 
@@ -69,7 +69,7 @@ throw() {
 
  */
 void comm::handler::LocalConnection::finalize()
-throw() {
+{
   LOGMETHOD(TraceMethod traceMethod("comm::handler::LocationConnection", "finalize", ANNA_FILE_LOCATION));
 
   if(a_localConnection == NULL)
@@ -125,7 +125,7 @@ throw() {
 }
 
 string comm::handler::LocalConnection::asString() const
-throw() {
+{
   string result("comm::handler::LocalConnection { ");
   result += comm::Handler::asString();
   result += " | ";
@@ -134,7 +134,7 @@ throw() {
 }
 
 xml::Node* comm::handler::LocalConnection::asXML(xml::Node* parent) const
-throw() {
+{
   xml::Node* result = parent->createChild("comm.handler.LocalConnection");
   comm::Handler::asAttribute(result);