Mp7Jrs  2.7.1
Mp7JrsException Class Reference

Primary exception class. More...

Inherited by Mp7JrsLicenseException, Mp7JrsMissingElementException, and Mp7JrsPtrException.

Public Member Functions

 Mp7JrsException (Mp7JrsExSeverity sev, const XMLCh *msg, Mp7JrsMsgMemory mode=MP7JRS_AUTODELETE)
 This is version 2.0.
 Mp7JrsException (Mp7JrsExSeverity sev, const char *msg, Mp7JrsMsgMemory mode=MP7JRS_AUTODELETE)
 This is version 2.0.
 Mp7JrsException (const Mp7JrsException &other)
Mp7JrsExSeverity GetSeverity ()
 Get severity identifier.
const char * GetSeverityText ()
 Get the severity as string.
const char * GetMessageText ()
 Get a descriptive error message.

Detailed Description

Primary exception class.

Member Function Documentation

const char* Mp7JrsException::GetMessageText ( )
inline

Get a descriptive error message.

Since the original GetMessage() method is overloaded in Windows with a Microsoft macro and expands to either GetMessageA or GetMessageW, we change our method to avoid this.

const char* Mp7JrsException::GetSeverityText ( )
inline

Get the severity as string.