[ROSAUTOTEST]
[reactos.git] / rostests / rosautotest / CSimpleException.cpp
1 /*
2 * PROJECT: ReactOS Automatic Testing Utility
3 * LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
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 */
17 CSimpleException::CSimpleException(const string& Message)
18 : m_Message(Message)
19 {
20 }