1 /* 2 * PROJECT: ReactOS Automatic Testing Utility 3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+) 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 }; 22