title: Throwing/catching exceptions from C'tor of a static object in C++
body: <p>I have a case in which I have to read an input file in the C'tor, but sometimes this file doesn't exist.
  This object is usually held statically, so its C'tor is called while loading the dll.
  I can't catch the exception I throw if the file doesn't exist because it's too early, and my executable crashes in an ugly way.
  I know it's bad practice to throw exceptions out of a C'tor, but I can't go on if the file doesn't exist, so I have to.
  Is there a way to catch the exception while loading the dll, and if not, is there any better solution for this scenario?</p>
  
  <p>Thanks,
  Gal</p>