Remove dynamic exceptions
[anna.git] / source / comm / handler / MetaClientSocket.cpp
index 2dd354d..dff6a57 100644 (file)
@@ -24,7 +24,7 @@ using namespace anna;
  * Este método se ejecuta desde un único thread (Tx). Cada socket tiene asociado un thread que lo trata.
  */
 void comm::handler::MetaClientSocket::apply()
-throw(RuntimeException) {
+noexcept(false) {
   LOGMETHOD(TraceMethod tm(Logger::Local7, "comm::handler::MetaClientSocket", "apply", ANNA_FILE_LOCATION));
   comm::ClientSocket* clientSocket = getClientSocket();
 
@@ -125,7 +125,7 @@ throw(RuntimeException) {
 
 //virtual
 bool comm::handler::MetaClientSocket::testClose()
-throw(RuntimeException) {
+noexcept(false) {
   LOGMETHOD(TraceMethod tm(Logger::Local7, "comm::handler::MetaClientSocket", "testClose", ANNA_FILE_LOCATION));
   comm::ClientSocket* clientSocket = getClientSocket();
 
@@ -159,7 +159,7 @@ throw(RuntimeException) {
  * Por lo que se puede invocar desde cualquier otro thread no reconocido.
  */
 void comm::handler::MetaClientSocket::breakAddress(const in_addr_t& address)
-throw() {
+{
   comm::ClientSocket* clientSocket = getClientSocket();
 
   if(clientSocket == NULL) {