XfoInterface::XfoException Class Reference

#include <xfoifc.h>

List of all members.

Public Member Functions

 XfoException (XfoIfErrorLevel errorLevel, XfoIfErrorCode errorCode, const wchar_t *errorMessage)
 Constructor.
 XfoException (const XfoException &e)
 Copy constructor.
 ~XfoException ()
 Destructor.
XfoIfErrorLevel getErrorLevel () const
 Get the error level.
XfoIfErrorCode 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

XfoIfErrorLevel m_errorLevel
XfoIfErrorCode m_errorCode
wchar_t * m_errorMessage


Constructor & Destructor Documentation

XfoInterface::XfoException::XfoException ( XfoIfErrorLevel  errorLevel,
XfoIfErrorCode  errorCode,
const wchar_t *  errorMessage 
)

Constructor.

XfoInterface::XfoException::XfoException ( const XfoException e  ) 

Copy constructor.

XfoInterface::XfoException::~XfoException (  ) 

Destructor.


Member Function Documentation

XfoIfErrorLevel XfoInterface::XfoException::getErrorLevel (  )  const

Get the error level.

Returns:
Returns the error level.

XfoIfErrorCode XfoInterface::XfoException::getErrorCode (  )  const

Get the error code.

Returns:
Returns the error code.

char* XfoInterface::XfoException::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* XfoInterface::XfoException::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 19 Mar 2009 for AHFormatter C/C++ Interface by Doxygen 1.5.5