Base::AbortException Class Reference
The AbortException is thrown if a pending operation was aborted. More...
#include <Exception.h>
Public Member Functions | |
AbortException () | |
Construction. More... | |
AbortException (const AbortException &inst) | |
Construction. More... | |
AbortException (const char *sMessage) | |
Construction. More... | |
virtual Base::Type getTypeId (void) const | |
virtual const char * what () const throw () | |
Description of the exception. More... | |
virtual ~AbortException () throw () | |
Destruction. More... | |
![]() | |
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 | |
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 () | |
![]() | |
BaseClass () | |
Construction. More... | |
bool isDerivedFrom (const Type type) const | |
virtual ~BaseClass () | |
Destruction. More... | |
Static Public Member Functions | |
static void * create (void) | |
static Base::Type getClassTypeId (void) | |
static void init (void) | |
![]() | |
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) | |
Additional Inherited Members | |
![]() | |
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 AbortException is thrown if a pending operation was aborted.
Constructor & Destructor Documentation
◆ AbortException() [1/3]
AbortException::AbortException | ( | const char * | sMessage | ) |
Construction.
◆ AbortException() [2/3]
AbortException::AbortException | ( | ) |
Construction.
◆ AbortException() [3/3]
AbortException::AbortException | ( | const AbortException & | inst | ) |
Construction.
◆ ~AbortException()
|
virtual |
Destruction.
Member Function Documentation
◆ create()
|
static |
Referenced by draftguitools.gui_labels.Label::action().
◆ getClassTypeId()
|
static |
Referenced by Spreadsheet::Sheet::recomputeCell().
◆ getTypeId()
|
virtual |
Reimplemented from Base::Exception.
◆ init()
|
static |
Referenced by App::Application::initTypes(), and DocumentObject.DocumentObject::onChanged().
◆ 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