root/library/tests/unittest-cpp/AssertException.h @ 867

Revision 706, 486 bytes (checked in by smidl, 15 years ago)

eol-native

  • Property svn:eol-style set to native
Line 
1#ifndef UNITTEST_ASSERTEXCEPTION_H
2#define UNITTEST_ASSERTEXCEPTION_H
3
4#include <exception>
5
6
7namespace UnitTest {
8
9class AssertException : public std::exception {
10public:
11        AssertException ( char const* description, char const* filename, int lineNumber );
12        virtual ~AssertException() throw();
13
14        virtual char const* what() const throw();
15
16        char const* Filename() const;
17        int LineNumber() const;
18
19private:
20        char m_description[512];
21        char m_filename[256];
22        int m_lineNumber;
23};
24
25}
26
27#endif
Note: See TracBrowser for help on using the browser.