{
L << Logger::Error << m_myname << " Ldap connection to server failed: " << le.what() << endl;
}
- catch( exception &e )
+ catch( std::exception &e )
{
L << Logger::Error << m_myname << " Caught STL exception: " << e.what() << endl;
}
L << Logger::Error << m_myname << " Unable to get zone " + target + " from LDAP directory: " << le.what() << endl;
throw( AhuException( "LDAP server unreachable" ) ); // try to reconnect to another server
}
- catch( exception &e )
+ catch( std::exception &e )
{
L << Logger::Error << m_myname << " Caught STL exception for target " << target << ": " << e.what() << endl;
throw( DBException( "STL exception" ) );
L << Logger::Error << m_myname << " Unable to search LDAP directory: " << le.what() << endl;
throw( AhuException( "LDAP server unreachable" ) ); // try to reconnect to another server
}
- catch( exception &e )
+ catch( std::exception &e )
{
L << Logger::Error << m_myname << " Caught STL exception for qname " << qname << ": " << e.what() << endl;
throw( DBException( "STL exception" ) );
L << Logger::Error << m_myname << " Search failed: " << le.what() << endl;
throw( AhuException( "LDAP server unreachable" ) ); // try to reconnect to another server
}
- catch( exception &e )
+ catch( std::exception &e )
{
L << Logger::Error << m_myname << " Caught STL exception for " << m_qname << ": " << e.what() << endl;
throw( DBException( "STL exception" ) );