CODException Class
class CODException: public CException
Base class for exceptions. Derived exception classes override the GetMessageId method to provide a string resource ID for an appropriate error message. The GetErrorMessage loads the string resource specified by GetMessageId.Defined in: OdException.h
Class Members
virtual UINT GetMessageId() const
Returns a string resource ID containing the error message.
virtual BOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError, PUINT pnHelpContext = NULL)
Returns a string error message for the exception.