Changeset 86 in pacpusframework
- Timestamp:
- Mar 27, 2013, 2:17:43 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/DbiteException.h
r76 r86 32 32 * @param what Information about the exception. 33 33 */ 34 DbiteException(const std::string& what); 34 DbiteException(const std::string& what) 35 : mWhat(what) 36 { 37 } 35 38 36 39 /** Dtor of DbiteException. */ 37 ~DbiteException() throw(); 40 virtual ~DbiteException() throw() 41 { 42 } 38 43 39 44 /** Get more information about the error. 40 45 * @return Message containing information about the error. 41 46 */ 42 virtual const char* what() const throw(); 47 virtual const char* what() const throw() 48 { 49 return mWhat.c_str(); 50 } 43 51 44 52 private: -
trunk/src/FileLib/src/DbiteException.cpp
r76 r86 9 9 using namespace pacpus; 10 10 11 DbiteException::DbiteException(const std::string& what)12 : mWhat(what)13 {14 }11 //DbiteException::DbiteException(const std::string& what) 12 // : mWhat(what) 13 //{ 14 //} 15 15 16 DbiteException::~DbiteException() throw()17 {18 }16 //DbiteException::~DbiteException() throw() 17 //{ 18 //} 19 19 20 const char* DbiteException::what() const throw()21 {22 return mWhat.c_str();23 }20 //const char* DbiteException::what() const throw() 21 //{ 22 // return mWhat.c_str(); 23 //}
Note:
See TracChangeset
for help on using the changeset viewer.