Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / modules / rostests / rosautotest / CFatalException.h
diff --git a/modules/rostests/rosautotest/CFatalException.h b/modules/rostests/rosautotest/CFatalException.h
new file mode 100644 (file)
index 0000000..e3b4976
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * PROJECT:     ReactOS Automatic Testing Utility
+ * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
+ * PURPOSE:     Fatal program exception with automatically added information
+ * COPYRIGHT:   Copyright 2009 Colin Finck (colin@reactos.org)
+ */
+
+class CFatalException
+{
+private:
+    string m_File;
+    int m_Line;
+    string m_Message;
+
+public:
+    CFatalException(const char* File, int Line, const char* Message);
+
+    const string& GetFile() const { return m_File; }
+    int GetLine() const { return m_Line; }
+    const string& GetMessage() const { return m_Message; }
+};