Changeset 477 for library/tests/unittest-cpp/AssertException.h
- Timestamp:
- 08/05/09 14:40:03 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/unittest-cpp/AssertException.h
r418 r477 7 7 namespace UnitTest { 8 8 9 class AssertException : public std::exception 10 { 9 class AssertException : public std::exception { 11 10 public: 12 AssertException(char const* description, char const* filename, int lineNumber);13 11 AssertException ( char const* description, char const* filename, int lineNumber ); 12 virtual ~AssertException() throw(); 14 13 15 14 virtual char const* what() const throw(); 16 15 17 18 16 char const* Filename() const; 17 int LineNumber() const; 19 18 20 19 private: 21 22 23 20 char m_description[512]; 21 char m_filename[256]; 22 int m_lineNumber; 24 23 }; 25 24