Remove dynamic exceptions
[anna.git] / source / ldap / Response.cpp
index 861cc6c..2fdbdcf 100644 (file)
@@ -22,7 +22,7 @@ ldap::Response::response_pool ldap::Response::st_responses;
 // Se invocan desde ldap::Session
 //----------------------------------------------------------------------------------------
 ldap::Response* ldap::Response::instance(const ClassCode::_v classCode, const IdMessage idMessage)
-throw(RuntimeException) {
+noexcept(false) {
   ldap::Response* result = st_responses.create();
   result->a_classCode = classCode;
   result->a_idMessage = idMessage;
@@ -36,7 +36,7 @@ throw(RuntimeException) {
 }
 
 void ldap::Response::release(ldap::Response* response)
-throw() {
+{
   try {
     st_responses.release(response);
   } catch(Exception& ex) {
@@ -53,7 +53,7 @@ ldap::Response::Response() :
 }
 
 void ldap::Response::clear()
-throw() {
+{
   a_session = NULL;
   a_resultCode.clear();
   a_name.clear();
@@ -68,12 +68,12 @@ throw() {
 }
 
 void ldap::Response::activateTimer()
-throw(RuntimeException) {
+noexcept(false) {
   a_timer = TimerManager::instantiate().createTimer(this);
 }
 
 void ldap::Response::cancelTimer()
-throw() {
+{
   if(a_timer != NULL) {
     try {
       TimerManager::instantiate().cancel(a_timer);
@@ -86,14 +86,14 @@ throw() {
 }
 
 ldap::Attribute* ldap::Response::createAttribute(const string& name)
-throw(RuntimeException) {
+noexcept(false) {
   Attribute* result = a_attributes.create();
   result->setName(name);
   return result;
 }
 
 string ldap::Response::asString() const
-throw() {
+{
   string result("ldap::Response { ");
   result += ClassCode::asString(a_classCode);
   result += functions::asText(" | IdMessage: ", a_idMessage);