- Timestamp:
- Mar 27, 2013, 4:38:14 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/DbiteException.h
r86 r87 32 32 * @param what Information about the exception. 33 33 */ 34 DbiteException(const std::string& what) 35 : mWhat(what) 36 { 37 } 34 DbiteException(const std::string& what); 38 35 39 36 /** Dtor of DbiteException. */ 40 virtual ~DbiteException() throw() 41 { 42 } 37 virtual ~DbiteException() throw(); 38 43 39 44 40 /** Get more information about the error. 45 41 * @return Message containing information about the error. 46 42 */ 47 virtual const char* what() const throw() 48 { 49 return mWhat.c_str(); 50 } 43 virtual const char* what() const throw(); 44 51 45 52 46 private: -
trunk/src/FileLib/CMakeLists.txt
r64 r87 44 44 target_link_libraries( 45 45 ${PROJECT_NAME} 46 PacpusLib47 46 ) 48 47 -
trunk/src/FileLib/src/DbiteException.cpp
r86 r87 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 } -
trunk/src/PacpusLib/CMakeLists.txt
r81 r87 75 75 ${QT_LIBRARIES} 76 76 ${PACPUS_DEPENDENCIES_LIB} 77 FileLib 77 78 ) 78 79
Note:
See TracChangeset
for help on using the changeset viewer.