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

don't throw non-exceptions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.5
    • Component/s: Internal Code
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

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

              Dates

              Created:
              Updated:
              Resolved: