Inheritance diagram for CP_ErrorManager:
Public Member Functions | |
Constructor / Destructor | |
CP_ErrorManager () | |
Constructor. | |
virtual | ~CP_ErrorManager () |
Destructor. | |
Exceptions | |
void | ReportException (const CP_String &inMessage, const std::exception &inException, const char *inFunction, int inLine, const char *inFile) |
Errors | |
void | ReportError (const CP_String &inMessage, const char *inFunction, int inLine, const char *inFile) |
void | ReportError (const CP_String &inMessage, const CP_String &inDescription, const char *inFunction, int inLine, const char *inFile) |
Warnings | |
void | ReportWarning (const CP_String &inMessage, const char *inFunction, int inLine, const char *inFile) |
void | ReportWarning (const CP_String &inMessage, const CP_String &inDescription, const char *inFunction, int inLine, const char *inFile) |
Notifications | |
void | SurpressAlertNotifications (CP_Debugging::CP_E_DebugNotification inNotifiction=CP_Debugging::CP_E_DebugNotification_Nothing) |
void | RestoreAlertNotifications () |
Static Public Member Functions | |
Instance | |
static CP_ErrorManager * | Instance () |
Private Member Functions | |
Reporting | |
void | ReportError (const CP_String &inMessage, const CP_String &inDescription) |
void | ReportException_OS (const CP_String &inMessage, const std::exception &inException, const char *inFunction, int inLine, const char *inFile) |
void | ReportWarning (const CP_String &inMessage, const CP_String &inDescription) |
Reporting | |
void | ReportError (const CP_String &inMessage, const CP_String &inDescription) |
void | ReportException_OS (const CP_String &inMessage, const std::exception &inException, const char *inFunction, int inLine, const char *inFile) |
void | ReportWarning (const CP_String &inMessage, const CP_String &inDescription) |
Reporting | |
void | ReportError (const CP_String &inMessage, const CP_String &inDescription) |
void | ReportException_OS (const CP_String &inMessage, const std::exception &inException, const char *inFunction, int inLine, const char *inFile) |
void | ReportWarning (const CP_String &inMessage, const CP_String &inDescription) |
Private Attributes | |
CP_Debugging::CP_E_DebugNotification | fSavedExceptionNotification |
CP_Debugging::CP_E_DebugNotification | fSavedErrorNotification |
CP_Debugging::CP_E_DebugNotification | fSavedWarningNotification |
Static Private Attributes | |
static CP_ErrorManager * | fsInstance = NULL |
|
Constructor.
|
|
Destructor.
|
|
Returns the single instance of this class.
|
|
Routine called to report an exception to the user.
|
|
Routine called to report an error to the user.
|
|
Routine called to report an error to the user. This also allows the passing in of a description.
|
|
Routine called to report a warning to the user.
|
|
Routine called to report a warning to the user. This also allows the passing in of a description.
|
|
Called when you want to surpress the existing notifications of alerts. This will save the current state so it can be restored in RestoreAlertNotifications. The default passes in CP_E_DebugNotification_Nothing so that nothing is reported, however you can pass in a different value if you want to temporarily chnge the current state of how notifications are handled.
|
|
Called when you want to restore the existing notifications of alerts. This will restore the current state to that when SurpressAlertNotifications was called.
|
|
MacOS implementation of the ReportError method.
|
|
MacOS implementation of the ReportException method that is used to report information about the passed in exception.
|
|
MacOS implementation of the ReportWarning method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|