Reactos
1/*
2 * PROJECT: ReactOS Automatic Testing Utility
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4 * PURPOSE: Simple exception containing just a message
5 * COPYRIGHT: Copyright 2009 Colin Finck (colin@reactos.org)
6 */
7
8#include "precomp.h"
9
10/**
11 * Constructs a CSimpleException object, which is catched in wmain as an exception.
12 * You should always use the EXCEPTION or SSEXCEPTION macro for throwing this exception.
13 *
14 * @param Message
15 * String containing a short message about the exception
16 */
17CSimpleException::CSimpleException(const string& Message)
18 : m_Message(Message)
19{
20}