SRGraphException Class
class SRGraphException: public CException
Exception class for SRGraphDefined in: SRGExc.h
virtual UINT UserExceptionID()
Called to allow user exception handling
SRGraphException(int cause=0)
Construction
void ShowErrorMessage()
Displays the message associated with the current exception code
virtual BOOL GetErrorMessage(LPTSTR lpszError, UINT nMaxError, PUINT pnHelpContext=NULL)
Override of the CException::GetErrorMessage function -- uses strings defined in the SRGraphResource (SRGRES.RC) file
int m_nCause
Cause of the exception
Class Members
protected member functions
virtual UINT GetErrorID()
Fetches the correct resource ID for the error