ReactOS 0.4.15-dev-8119-g4fb2fdb
CSimpleException Class Reference

#include <CSimpleException.h>

Inheritance diagram for CSimpleException:

Public Member Functions

 CSimpleException (const string &Message)
 
const stringGetMessage () const
 

Private Attributes

string m_Message
 

Detailed Description

Definition at line 8 of file CSimpleException.h.

Constructor & Destructor Documentation

◆ CSimpleException()

CSimpleException::CSimpleException ( const string Message)

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.

Parameters
MessageString containing a short message about the exception

Definition at line 17 of file CSimpleException.cpp.

19{
20}
static const WCHAR Message[]
Definition: register.c:74

Member Function Documentation

◆ GetMessage()

const string & CSimpleException::GetMessage ( ) const
inline

Definition at line 16 of file CSimpleException.h.

16{ return m_Message; }

Member Data Documentation

◆ m_Message

string CSimpleException::m_Message
private

Definition at line 11 of file CSimpleException.h.

Referenced by GetMessage().


The documentation for this class was generated from the following files: