Base::NotImplementedError Class Reference
The NotImplementedError can be used to indicate that an invoked function is not implemented. More...
#include <Exception.h>
Public Member Functions | |
virtual PyObject * getPyExceptionType () const override | |
returns the corresponding python exception type More... | |
NotImplementedError () | |
Construction. More... | |
NotImplementedError (const char *sMessage) | |
NotImplementedError (const NotImplementedError &inst) | |
Construction. More... | |
NotImplementedError (const std::string &sMessage) | |
virtual ~NotImplementedError () throw () | |
Destruction. More... | |
![]() | |
std::string getFile () const | |
std::string getFunction () const | |
int getLine () const | |
std::string getMessage () const | |
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 const char * what (void) const throw () | |
virtual ~Exception () throw () | |
![]() | |
BaseClass () | |
Construction. More... | |
bool isDerivedFrom (const Type type) const | |
virtual ~BaseClass () | |
Destruction. More... | |
Additional Inherited Members | |
![]() | |
static void * create (void) | |
static Base::Type getClassTypeId (void) | |
static void init (void) | |
![]() | |
static void * create (void) | |
static Type getClassTypeId (void) | |
static void init (void) | |
![]() | |
Exception (const char *sMessage) | |
Exception (const Exception &inst) | |
Exception (const std::string &sMessage) | |
Exception (void) | |
![]() | |
static void initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr) | |
Detailed Description
The NotImplementedError can be used to indicate that an invoked function is not implemented.
Constructor & Destructor Documentation
◆ NotImplementedError() [1/4]
NotImplementedError::NotImplementedError | ( | ) |
Construction.
◆ NotImplementedError() [2/4]
NotImplementedError::NotImplementedError | ( | const char * | sMessage | ) |
◆ NotImplementedError() [3/4]
NotImplementedError::NotImplementedError | ( | const std::string & | sMessage | ) |
◆ NotImplementedError() [4/4]
NotImplementedError::NotImplementedError | ( | const NotImplementedError & | inst | ) |
Construction.
◆ ~NotImplementedError()
|
virtual |
Destruction.
Member Function Documentation
◆ getPyExceptionType()
|
overridevirtual |
returns the corresponding python exception type
Reimplemented from Base::Exception.
The documentation for this class was generated from the following files:
- src/Base/Exception.h
- src/Base/Exception.cpp