Mp7Jrs  2.7.1
Mp7JrsMissingElementException Class Reference

Exception class for GetOrCreateFromXPath if the requested index was too high. More...

Inherits Mp7JrsException.

Public Member Functions

 Mp7JrsMissingElementException (Mp7JrsExSeverity sev, const XMLCh *msg, unsigned int lastvalidindex, Mp7JrsMsgMemory mode=MP7JRS_AUTODELETE)
 Mp7JrsMissingElementException (Mp7JrsExSeverity sev, const char *msg, unsigned int lastvalidindex, Mp7JrsMsgMemory mode=MP7JRS_AUTODELETE)
 Mp7JrsMissingElementException (const Mp7JrsMissingElementException &other)
unsigned int GetLastValidIndex ()
 Correct index should be the value of GetLastValidIndex() plus 1.
- Public Member Functions inherited from Mp7JrsException
 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

Exception class for GetOrCreateFromXPath if the requested index was too high.

Member Function Documentation

unsigned int Mp7JrsMissingElementException::GetLastValidIndex ( )
inline

Correct index should be the value of GetLastValidIndex() plus 1.