Changeset 1276
- Timestamp:
- 11/15/08 21:40:26 (16 months ago)
- Location:
- trunk/pdns/pdns
- Files:
-
- 7 modified
-
backends/bind/bindbackend2.cc (modified) (2 diffs)
-
backends/bind/zone2sql.cc (modified) (2 diffs)
-
dnspacket.cc (modified) (2 diffs)
-
dnsscope.cc (modified) (2 diffs)
-
dynlistener.cc (modified) (1 diff)
-
packethandler.cc (modified) (1 diff)
-
pdns_recursor.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/backends/bind/bindbackend2.cc
r1266 r1276 604 604 rejected++; 605 605 } 606 catch( exception &ae) {606 catch(std::exception &ae) { 607 607 ostringstream msg; 608 608 msg<<" error at "+nowTime()+" parsing '"<<i->name<<"' from file '"<<i->filename<<"': "<<ae.what(); … … 719 719 bbd->d_status=msg.str(); 720 720 } 721 catch( exception &ae) {721 catch(std::exception &ae) { 722 722 ostringstream msg; 723 723 msg<<" error at "+nowTime()+" parsing '"<<bbd->d_name<<"' from file '"<<bbd->d_filename<<"': "<<ae.what(); -
trunk/pdns/pdns/backends/bind/zone2sql.cc
r1266 r1276 288 288 num_domainsdone++; 289 289 } 290 catch( exception &ae) {290 catch(std::exception &ae) { 291 291 if(!::arg().mustDo("on-error-resume-next")) 292 292 throw; … … 323 323 return 0; 324 324 } 325 catch( exception &e) {325 catch(std::exception &e) { 326 326 cerr<<"died because of STL error: "<<e.what()<<endl; 327 327 exit(0); -
trunk/pdns/pdns/dnspacket.cc
r1270 r1276 344 344 pw.commit(); 345 345 } 346 catch( exception& e) {346 catch(std::exception& e) { 347 347 L<<Logger::Error<<"Exception: "<<e.what()<<endl; 348 348 throw; … … 478 478 return 0; 479 479 } 480 catch( exception& e) {480 catch(std::exception& e) { 481 481 return -1; 482 482 } -
trunk/pdns/pdns/dnsscope.cc
r1102 r1276 115 115 continue; 116 116 } 117 catch( exception& e) {117 catch(std::exception& e) { 118 118 if(pw) 119 119 pw->write(); … … 212 212 cerr<<"Average response time: "<<tottime/totpackets<<" usec"<<endl; 213 213 } 214 catch( exception& e)214 catch(std::exception& e) 215 215 { 216 216 cerr<<"Fatal: "<<e.what()<<endl; -
trunk/pdns/pdns/dynlistener.cc
r1255 r1276 312 312 L<<Logger::Error<<"Fatal error 2 in control listener: "<<E<<endl; 313 313 } 314 catch( exception& e)314 catch(std::exception& e) 315 315 { 316 316 L<<Logger::Error<<"Fatal STL error: "<<e.what()<<endl; -
trunk/pdns/pdns/packethandler.cc
r1272 r1276 940 940 S.ringAccount("servfail-queries",p->qdomain); 941 941 } 942 catch( exception &e) {942 catch(std::exception &e) { 943 943 L<<Logger::Error<<"Exception building answer packet ("<<e.what()<<") sending out servfail"<<endl; 944 944 delete r; -
trunk/pdns/pdns/pdns_recursor.cc
r1274 r1276 881 881 questionExpand(data, len, qname, sizeof(qname), type); 882 882 } 883 catch( exception &e)883 catch(std::exception &e) 884 884 { 885 885 throw MOADNSException(e.what());