comparison ext/UnitTest++/src/AssertException.h @ 37:0d325e9d5953

added unittest++ files into ext. Not hooked into build scripts yet
author jasoka@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 12 Jul 2008 12:00:57 +0000
parents
children
comparison
equal deleted inserted replaced
36:6f1227f4932b 37:0d325e9d5953
1 #ifndef UNITTEST_ASSERTEXCEPTION_H
2 #define UNITTEST_ASSERTEXCEPTION_H
3
4 #include <exception>
5
6
7 namespace UnitTest {
8
9 class AssertException : public std::exception
10 {
11 public:
12 AssertException(char const* description, char const* filename, int lineNumber);
13 virtual ~AssertException() throw();
14
15 virtual char const* what() const throw();
16
17 char const* Filename() const;
18 int LineNumber() const;
19
20 private:
21 char m_description[512];
22 char m_filename[256];
23 int m_lineNumber;
24 };
25
26 }
27
28 #endif