mirror of
https://github.com/reactos/reactos.git
synced 2024-11-07 07:00:19 +00:00
21 lines
664 B
C++
21 lines
664 B
C++
|
/*
|
||
|
* PROJECT: ReactOS Automatic Testing Utility
|
||
|
* LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
|
||
|
* PURPOSE: Simple exception containing just a message
|
||
|
* COPYRIGHT: Copyright 2009 Colin Finck <colin@reactos.org>
|
||
|
*/
|
||
|
|
||
|
#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
|
||
|
* Constant pointer to a char array containing a short message about the exception
|
||
|
*/
|
||
|
CSimpleException::CSimpleException(const char* Message)
|
||
|
: m_Message(Message)
|
||
|
{
|
||
|
}
|