Changeset 280 in pacpusframework for trunk/src/PacpusLib/PacpusException.cpp
- Timestamp:
- Mar 20, 2014, 11:59:05 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PacpusLib/PacpusException.cpp
r156 r280 10 10 using namespace pacpus; 11 11 12 PacpusException::PacpusException( const std::string& what)13 : mWhat(what)12 PacpusException::PacpusException(std::string const& what) 13 : std::runtime_error(what) 14 14 { 15 15 } 16 16 17 PacpusException::~PacpusException() throw()17 PacpusException::~PacpusException() 18 18 { 19 19 } 20 21 const char * PacpusException::what() const throw()22 {23 return mWhat.c_str();24 }
Note:
See TracChangeset
for help on using the changeset viewer.