#include <Exception.h>
◆ ~Exception()
virtual Base::Exception::~Exception |
( |
| ) |
|
throw | ( | |
| ) | | |
|
virtual |
◆ Exception() [1/4]
Exception::Exception |
( |
const char * |
sMessage | ) |
|
|
protected |
◆ Exception() [2/4]
Exception::Exception |
( |
const std::string & |
sMessage | ) |
|
|
protected |
◆ Exception() [3/4]
◆ Exception() [4/4]
Exception::Exception |
( |
const Exception & |
inst | ) |
|
|
protected |
◆ create()
void * Exception::create |
( |
void |
| ) |
|
|
static |
◆ getClassTypeId()
◆ getFile()
std::string Exception::getFile |
( |
| ) |
const |
◆ getFunction()
std::string Exception::getFunction |
( |
| ) |
const |
◆ getLine()
int Exception::getLine |
( |
| ) |
const |
◆ getMessage()
std::string Exception::getMessage |
( |
| ) |
const |
◆ getPyExceptionType()
PyObject * Exception::getPyExceptionType |
( |
void |
| ) |
const |
|
virtual |
returns the corresponding python exception type
Reimplemented in Base::BadGraphError, Base::CADKernelError, Base::AbortException, Base::XMLBaseException, Base::XMLParseException, Base::XMLAttributeError, Base::FileException, Base::FileSystemError, Base::BadFormatError, Base::MemoryException, Base::AccessViolation, Base::AbnormalProgramTermination, Base::UnknownProgramOption, Base::TypeError, Base::ValueError, Base::IndexError, Base::NameError, Base::ImportError, Base::AttributeError, Base::RuntimeError, Base::NotImplementedError, Base::ZeroDivisionError, Base::ReferenceError, Base::ExpressionError, Base::ParserError, Base::UnicodeError, Base::OverflowError, Base::UnderflowError, Base::UnitsMismatchError, Base::RestoreError, and Base::PyException.
References Base::PyExc_FC_GeneralError.
Referenced by setPyException().
◆ getPyObject()
PyObject * Exception::getPyObject |
( |
void |
| ) |
|
|
virtual |
◆ getReported()
bool Base::Exception::getReported |
( |
| ) |
const |
◆ getTranslatable()
bool Exception::getTranslatable |
( |
| ) |
const |
◆ getTypeId()
◆ init()
void Exception::init |
( |
void |
| ) |
|
|
static |
◆ operator=()
◆ ReportException()
void Exception::ReportException |
( |
| ) |
const |
|
virtual |
◆ setDebugInformation()
void Exception::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
◆ setMessage() [1/2]
void Exception::setMessage |
( |
const char * |
sMessage | ) |
|
◆ setMessage() [2/2]
void Exception::setMessage |
( |
const std::string & |
sMessage | ) |
|
◆ setPyException()
void Exception::setPyException |
( |
| ) |
const |
|
virtual |
◆ setPyObject()
void Exception::setPyObject |
( |
PyObject * |
pydict | ) |
|
|
virtual |
◆ setReported()
void Base::Exception::setReported |
( |
bool |
reported | ) |
|
◆ setTranslatable()
void Exception::setTranslatable |
( |
bool |
translatable | ) |
|
◆ what()
const char * Exception::what |
( |
void |
| ) |
const |
throw | ( | |
| ) | | |
|
virtual |
Reimplemented in Base::AbortException, Base::XMLParseException, Base::XMLAttributeError, and Base::FileException.
Referenced by PartGui::DlgRevolution::accept(), PartGui::DlgExtrusion::apply(), App::Origin::execute(), App::OriginGroupExtension::extensionExecute(), PartDesignGui::TaskTransformedParameters::fillAxisCombo(), PartDesignGui::TaskTransformedParameters::fillPlanesCombo(), getPyObject(), Gui::ViewProviderOrigin::onChanged(), Base::PyException::ReportException(), setPyException(), Base::PyException::setPyException(), Gui::ViewProviderOrigin::setTemporaryVisibility(), PartDesignGui::TaskBoxPrimitives::TaskBoxPrimitives(), PartDesignGui::ViewProviderBody::updateOriginDatumSize(), Gui::ViewProviderOriginGroupExtension::updateOriginSize(), PartGui::DlgExtrusion::validate(), PartGui::DlgRevolution::validate(), Base::AbortException::what(), Base::XMLParseException::what(), Base::XMLAttributeError::what(), PartDesignGui::TaskBoxPrimitives::~TaskBoxPrimitives(), PartDesignGui::TaskLinearPatternParameters::~TaskLinearPatternParameters(), PartDesignGui::TaskMirroredParameters::~TaskMirroredParameters(), and PartDesignGui::TaskPolarPatternParameters::~TaskPolarPatternParameters().
The documentation for this class was generated from the following files:
- FreeCAD/src/Base/Exception.h
- FreeCAD/src/Base/Exception.cpp