#include <dfvifc.h>
Public Member Functions | |
DfvException (DfvIfErrorLevel errorLevel, DfvIfErrorCode errorCode, const wchar_t *errorMessage) | |
Constructor. | |
DfvException (const DfvException &e) | |
Copy constructor. | |
~DfvException () | |
Destructor. | |
DfvIfErrorLevel | getErrorLevel () const |
Get the error level. | |
DfvIfErrorCode | getErrorCode () const |
Get the error code. | |
char * | getErrorMessage (char *pVal, int size) const |
Get the error message. | |
wchar_t * | getErrorMessageW (wchar_t *pVal, int size) const |
Get the error message. | |
Private Attributes | |
DfvIfErrorLevel | m_errorLevel |
DfvIfErrorCode | m_errorCode |
wchar_t * | m_errorMessage |
DfvInterface::DfvException::DfvException | ( | DfvIfErrorLevel | errorLevel, | |
DfvIfErrorCode | errorCode, | |||
const wchar_t * | errorMessage | |||
) |
Constructor.
DfvInterface::DfvException::DfvException | ( | const DfvException & | e | ) |
Copy constructor.
DfvInterface::DfvException::~DfvException | ( | ) |
Destructor.
DfvIfErrorLevel DfvInterface::DfvException::getErrorLevel | ( | ) | const |
Get the error level.
DfvIfErrorCode DfvInterface::DfvException::getErrorCode | ( | ) | const |
Get the error code.
char* DfvInterface::DfvException::getErrorMessage | ( | char * | pVal, | |
int | size | |||
) | const |
Get the error message.
pVal | Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, the string is truncated and terminated with a NULL character. | |
size | Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. |
wchar_t* DfvInterface::DfvException::getErrorMessageW | ( | wchar_t * | pVal, | |
int | size | |||
) | const |
Get the error message.
pVal | Pointer to the buffer that will receive the text. If the string is as long or longer than the buffer, the string is truncated and terminated with a NULL character. | |
size | Specifies the number of the 'pVal' buffer, including the NULL character. If the text exceeds this limit, it is truncated. |
wchar_t* DfvInterface::DfvException::m_errorMessage [private] |