Changeset 201 in pacpusframework for trunk/src/PacpusLib/ComponentBase.cpp
- Timestamp:
- Oct 28, 2013, 3:24:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusLib/ComponentBase.cpp
r182 r201 9 9 #include <Pacpus/kernel/ComponentManager.h> 10 10 #include <Pacpus/kernel/Log.h> 11 #include <Pacpus/kernel/PacpusException.h> 11 12 12 13 #include <boost/program_options/parsers.hpp> … … 210 211 vector<string> xargs = convertAttributesToArgumentVector(cfg.getProperties()); 211 212 212 boost::program_options::variables_map vm;213 po::variables_map vm; 213 214 try { 214 215 po::store( … … 220 221 po::notify(vm); 221 222 } catch (po::error & e) { 222 LOG_ ERROR(e.what());223 throw ;223 LOG_WARN(e.what()); 224 throw PacpusException(e.what()); 224 225 } 225 226
Note:
See TracChangeset
for help on using the changeset viewer.