2009-03-21 01:39:04 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS Automatic Testing Utility
|
2017-09-29 18:13:54 +00:00
|
|
|
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
2009-03-21 01:39:04 +00:00
|
|
|
* PURPOSE: Simple exception containing just a message
|
2017-09-29 18:13:54 +00:00
|
|
|
* COPYRIGHT: Copyright 2009 Colin Finck (colin@reactos.org)
|
2009-03-21 01:39:04 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "precomp.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Constructs a CSimpleException object, which is catched in wmain as an exception.
|
|
|
|
* You should always use the EXCEPTION or SSEXCEPTION macro for throwing this exception.
|
|
|
|
*
|
|
|
|
* @param Message
|
2015-02-28 21:12:25 +00:00
|
|
|
* String containing a short message about the exception
|
2009-03-21 01:39:04 +00:00
|
|
|
*/
|
2015-02-28 21:12:25 +00:00
|
|
|
CSimpleException::CSimpleException(const string& Message)
|
2009-03-21 01:39:04 +00:00
|
|
|
: m_Message(Message)
|
|
|
|
{
|
|
|
|
}
|