Forgetting to save really sucks. Sorry again for the wasted commit.
[reactos.git] / rostests / rosautotest / CFatalException.h
1 /*
2 * PROJECT: ReactOS Automatic Testing Utility
3 * LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
4 * PURPOSE: Fatal program exception with automatically added information
5 * COPYRIGHT: Copyright 2009 Colin Finck <colin@reactos.org>
6 */
7
8 class CFatalException
9 {
10 private:
11 string m_File;
12 int m_Line;
13 string m_Message;
14
15 public:
16 CFatalException(const char* File, int Line, const char* Message);
17
18 const string& GetFile() const { return m_File; }
19 int GetLine() const { return m_Line; }
20 const string& GetMessage() const { return m_Message; }
21 };