// 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;
}
void ldap::Response::release(ldap::Response* response)
-throw() {
+{
try {
st_responses.release(response);
} catch(Exception& ex) {
}
void ldap::Response::clear()
-throw() {
+{
a_session = NULL;
a_resultCode.clear();
a_name.clear();
}
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);
}
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);