SyncException Class Reference
[Client DLL]

Defines exceptions for sync process. More...

#include <SyncException.h>

Collaboration diagram for SyncException:
[legend]

List of all members.

Public Member Functions

 ~SyncException ()
 Destructor.
void setExceptionData (const char *msg, DWORD code=NULL)
 Set data of exception.
void clear ()
 Clear data of exception.
const char * getErrorMsg ()
 Methods to get exception informations.
const WCHAR * wgetErrorMsg ()
const std::wstring wstrgetErrorMsg ()
 _declspec (dllexport) DWORD getErrorCode()

Static Public Member Functions

static SyncExceptiongetInstance ()
 Method to create the sole instance of SyncException.

Protected Member Functions

 SyncException ()
 Constructor.

Private Attributes

char * errorMsg
 The message to display.
WCHAR * werrorMsg
 The same message in WCHAR.
DWORD errorCode
 The error code.

Static Private Attributes

static SyncExceptionpinstance = NULL
 pointer to SyncException instance


Detailed Description

Defines exceptions for sync process.

Member Function Documentation

void SyncException::setExceptionData ( const char *  msg,
DWORD  code = NULL 
)

Set data of exception.

Set members of exception.

References errorCode, errorMsg, and werrorMsg.

Referenced by throwSyncException().


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

Generated on Tue Apr 6 13:00:43 2010 for Funambol Outlook Plug-in Library by  doxygen 1.5.7.1