DfvInterface::DfvException Class Reference

#include <dfvifc.h>

List of all members.

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


Constructor & Destructor Documentation

DfvInterface::DfvException::DfvException ( DfvIfErrorLevel  errorLevel,
DfvIfErrorCode  errorCode,
const wchar_t *  errorMessage 
)

Constructor.

DfvInterface::DfvException::DfvException ( const DfvException e  ) 

Copy constructor.

DfvInterface::DfvException::~DfvException (  ) 

Destructor.


Member Function Documentation

DfvIfErrorLevel DfvInterface::DfvException::getErrorLevel (  )  const

Get the error level.

Returns:
Returns the error level.

DfvIfErrorCode DfvInterface::DfvException::getErrorCode (  )  const

Get the error code.

Returns:
Returns the error code.

char* DfvInterface::DfvException::getErrorMessage ( char *  pVal,
int  size 
) const

Get the error message.

Parameters:
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.
Returns:
Returns the 'pVal'.

wchar_t* DfvInterface::DfvException::getErrorMessageW ( wchar_t *  pVal,
int  size 
) const

Get the error message.

Parameters:
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.
Returns:
Returns the 'pVal'.


Member Data Documentation


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

Generated on 9 Sep 2010 for Server Based Converter C/C++ Interface by Doxygen 1.5.6