Changeset 1988
- Timestamp:
- 02/07/11 10:53:01 (2 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/modules/opendbxbackend/odbxbackend.cc (modified) (17 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/modules/opendbxbackend/odbxbackend.cc
r1948 r1988 61 61 if( !connectTo( m_hosts[WRITE], WRITE ) ) { throw( AhuException( "Fatal: Connecting to server for writing failed" ) ); } 62 62 } 63 catch( exception& e )63 catch( std::exception& e ) 64 64 { 65 65 L.log( m_myname + " OdbxBackend(): Caught STL exception - " + e.what(), Logger::Error ); … … 156 156 while( getRecord( READ ) ); 157 157 } 158 catch( exception& e )159 { 160 L.log( m_myname + " getDomainInfo: Caught STL exception - " + e.what(), Logger::Error );158 catch( std::exception& e ) 159 { 160 L.log( m_myname + " getDomainInfo: Caught STL std::exception - " + e.what(), Logger::Error ); 161 161 return false; 162 162 } … … 221 221 while( getRecord( READ ) ); 222 222 } 223 catch( exception& e )223 catch( std::exception& e ) 224 224 { 225 225 L.log( m_myname + " getSOA: Caught STL exception - " + e.what(), Logger::Error ); … … 260 260 if( !execStmt( stmtref.c_str(), stmtref.size(), READ ) ) { return false; } 261 261 } 262 catch( exception& e )262 catch( std::exception& e ) 263 263 { 264 264 L.log( m_myname + " list: Caught STL exception - " + e.what(), Logger::Error ); … … 328 328 } 329 329 } 330 catch( exception& e )330 catch( std::exception& e ) 331 331 { 332 332 L.log( m_myname + " lookup: Caught STL exception - " + e.what(), Logger::Error ); … … 388 388 } 389 389 } 390 catch( exception& e )390 catch( std::exception& e ) 391 391 { 392 392 L.log( m_myname + " get: Caught STL exception - " + e.what(), Logger::Error ); … … 432 432 } 433 433 } 434 catch ( exception& e )434 catch ( std::exception& e ) 435 435 { 436 436 L.log( m_myname + " setFresh: Caught STL exception - " + e.what(), Logger::Error ); … … 472 472 } 473 473 } 474 catch ( exception& e )474 catch ( std::exception& e ) 475 475 { 476 476 L.log( m_myname + " setNotified: Caught STL exception - " + e.what(), Logger::Error ); … … 506 506 while( getRecord( READ ) ); 507 507 } 508 catch ( exception& e )508 catch ( std::exception& e ) 509 509 { 510 510 L.log( m_myname + " isMaster: Caught STL exception - " + e.what(), Logger::Error ); … … 531 531 getDomainList( getArg( "sql-infoslaves" ), unfresh, &checkSlave ); 532 532 } 533 catch ( exception& e )533 catch ( std::exception& e ) 534 534 { 535 535 L.log( m_myname + " getUnfreshSlaveInfo: Caught STL exception - " + e.what(), Logger::Error ); … … 553 553 getDomainList( getArg( "sql-infomasters" ), updated, &checkMaster ); 554 554 } 555 catch ( exception& e )555 catch ( std::exception& e ) 556 556 { 557 557 L.log( m_myname + " getUpdatedMasters: Caught STL exception - " + e.what(), Logger::Error ); … … 594 594 } 595 595 } 596 catch ( exception& e )596 catch ( std::exception& e ) 597 597 { 598 598 L.log( m_myname + " superMasterBackend: Caught STL exception - " + e.what(), Logger::Error ); … … 635 635 if( !execStmt( m_buffer, len, WRITE ) ) { return false; } 636 636 } 637 catch ( exception& e )637 catch ( std::exception& e ) 638 638 { 639 639 L.log( m_myname + " createSlaveDomain: Caught STL exception - " + e.what(), Logger::Error ); … … 677 677 if( !execStmt( m_buffer, len, WRITE ) ) { return false; } 678 678 } 679 catch ( exception& e )679 catch ( std::exception& e ) 680 680 { 681 681 L.log( m_myname + " feedRecord: Caught STL exception - " + e.what(), Logger::Error ); … … 722 722 } 723 723 } 724 catch ( exception& e )724 catch ( std::exception& e ) 725 725 { 726 726 L.log( m_myname + " startTransaction: Caught STL exception - " + e.what(), Logger::Error ); … … 748 748 if( !execStmt( stmt.c_str(), stmt.size(), WRITE ) ) { return false; } 749 749 } 750 catch ( exception& e )750 catch ( std::exception& e ) 751 751 { 752 752 L.log( m_myname + " commitTransaction: Caught STL exception - " + e.what(), Logger::Error ); … … 774 774 if( !execStmt( stmt.c_str(), stmt.size(), WRITE ) ) { return false; } 775 775 } 776 catch ( exception& e )776 catch ( std::exception& e ) 777 777 { 778 778 L.log( m_myname + " abortTransaction: Caught STL exception - " + e.what(), Logger::Error );