void OptionParser::Run(int& argc, const char** argv) { try { Run_(argc, argv); } catch (const InvalidParam& p) { *os << *boost::get_error_info<ProcessedOption>(p) << ": " << p.what() << std::endl; throw Exit{false}; } }
void Module::Call( ) { if ( !isInitialized_ ) { Initialize_(); } else if( doShutdown_ ) { Shutdown_(); } else { Run_(); } }