Base::XMLParseException Class Reference
The XMLParseException is thrown if parsing an XML failed. More...
#include <Exception.h>
Public Member Functions | |
virtual const char * | what () const throw () |
Description of the exception. More... | |
XMLParseException () | |
Construction. More... | |
XMLParseException (const char *sMessage) | |
Construction. More... | |
XMLParseException (const std::string &sMessage) | |
Construction. More... | |
XMLParseException (const XMLParseException &inst) | |
Construction. More... | |
virtual | ~XMLParseException () throw () |
Destruction. More... | |
Public Member Functions inherited from Base::XMLBaseException | |
XMLBaseException () | |
Construction. More... | |
XMLBaseException (const char *sMessage) | |
XMLBaseException (const std::string &sMessage) | |
XMLBaseException (const XMLBaseException &inst) | |
Construction. More... | |
virtual | ~XMLBaseException () throw () |
Destruction. More... | |
Public Member Functions inherited from Base::Exception | |
std::string | getFile () const |
std::string | getFunction () const |
int | getLine () const |
std::string | getMessage () const |
virtual PyObject * | getPyExceptionType () const |
returns the corresponding python exception type More... | |
virtual PyObject * | getPyObject (void) |
returns a Python dictionary containing the exception data More... | |
bool | getReported () const |
bool | getTranslatable () const |
virtual Base::Type | getTypeId (void) const |
Exception & | operator= (const Exception &inst) |
virtual void | ReportException (void) const |
Reports exception. It includes a mechanism to only report an exception once. More... | |
void | setDebugInformation (const std::string &file, const int line, const std::string &function) |
setter methods for including debug information intended to use via macro for autofilling of debugging information More... | |
void | setMessage (const char *sMessage) |
void | setMessage (const std::string &sMessage) |
virtual void | setPyException () const |
Sets the Python error indicator and an error message. More... | |
virtual void | setPyObject (PyObject *pydict) |
returns sets the exception data from a Python dictionary More... | |
void | setReported (bool reported) |
void | setTranslatable (bool translatable) |
virtual | ~Exception () throw () |
Public Member Functions inherited from Base::BaseClass | |
BaseClass () | |
Construction. More... | |
bool | isDerivedFrom (const Type type) const |
virtual | ~BaseClass () |
Destruction. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Base::Exception | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Static Public Member Functions inherited from Base::BaseClass | |
static void * | create (void) |
static Type | getClassTypeId (void) |
static void | init (void) |
Protected Member Functions inherited from Base::Exception | |
Exception (const char *sMessage) | |
Exception (const Exception &inst) | |
Exception (const std::string &sMessage) | |
Exception (void) | |
Static Protected Member Functions inherited from Base::BaseClass | |
static void | initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr) |
Detailed Description
The XMLParseException is thrown if parsing an XML failed.
Constructor & Destructor Documentation
◆ XMLParseException() [1/4]
XMLParseException::XMLParseException | ( | const char * | sMessage | ) |
Construction.
◆ XMLParseException() [2/4]
XMLParseException::XMLParseException | ( | const std::string & | sMessage | ) |
Construction.
◆ XMLParseException() [3/4]
XMLParseException::XMLParseException | ( | ) |
Construction.
◆ XMLParseException() [4/4]
XMLParseException::XMLParseException | ( | const XMLParseException & | inst | ) |
Construction.
◆ ~XMLParseException()
|
virtual |
Destruction.
Member Function Documentation
◆ what()
|
virtual |
Description of the exception.
Reimplemented from Base::Exception.
References Base::Exception::what().
The documentation for this class was generated from the following files:
- src/Base/Exception.h
- src/Base/Exception.cpp