Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19045

don't throw non-exceptions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.1.5
    • None
    • Internal Code
    • Fully Compatible
    • ALL
    • Platform 5 06/26/16

    Description

          if ( ! f->good() ) {                                                                                                                                                                                       
                  log() << "diagLogging couldn't open " << name << endl;                                                                                                                                                 
                  // todo what is this? :                                                                                                                                                                                
                  throw 1717;                                                                                                                                                                                            
              }                
      

                 stdx::lock_guard<stdx::mutex> lk( mongoProgramOutputMutex );                                                                                                                                           
                  if( mongo::dbexitCalled ) throw "program is terminating";                                                                                                                                              
                  stringstream buf;                                                                                                                                                                                      
                  if ( port > 0 )                                         
      

      Attachments

        Activity

          People

            adam.midvidy Adam Midvidy
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: