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 #include "precomp.h"
9 
10 /**
11  * Constructs a CFatalException object, which is catched in wmain as an exception.
12  * You should always use the FATAL macro for throwing this exception.
13  *
14  * @param File
15  * Constant pointer to a char array with the source file where the exception occured (__FILE__)
16  *
17  * @param Line
18  * Integer value with the appropriate source line (__LINE__)
19  *
20  * @param Message
21  * Constant pointer to a char array containing a short message about the exception
22  */
23 CFatalException::CFatalException(const char* File, int Line, const char* Message)
24     : m_File(File), m_Line(Line), m_Message(Message)
25 {
26 }
27