#include <Interpreter.h>
Public Member Functions | |
const std::string & | getErrorType (void) const |
const std::string & | getStackTrace (void) const |
this function returns the stack trace | |
PyException (void) | |
constructor does the whole job | |
~PyException () throw () | |
Protected Attributes | |
std::string | _errorType |
std::string | _stackTrace |
Definition at line 52 of file Interpreter.h.
PyException::PyException | ( | void | ) |
constructor does the whole job
Definition at line 53 of file Interpreter.cpp.
References _errorType, Base::Exception::_sErrMsg, _stackTrace, draftlibs::dxfReader::error(), RobotExample::pos, PP_Fetch_Error_Text(), PP_last_error_info, PP_last_error_trace, and PP_last_error_type.
Base::PyException::~PyException | ( | ) | throw () [inline] |
Definition at line 57 of file Interpreter.h.
const std::string& Base::PyException::getErrorType | ( | void | ) | const [inline] |
Definition at line 61 of file Interpreter.h.
const std::string& Base::PyException::getStackTrace | ( | void | ) | const [inline] |
this function returns the stack trace
Definition at line 60 of file Interpreter.h.
Referenced by Gui::PythonCommand::activated(), Gui::Application::activateWorkbench(), Gui::Command::invoke(), TestGui::UnitTestDialog::on_startButton_clicked(), and Gui::Application::runPythonCode().
std::string Base::PyException::_errorType [protected] |
Definition at line 65 of file Interpreter.h.
Referenced by PyException().
std::string Base::PyException::_stackTrace [protected] |
Definition at line 64 of file Interpreter.h.
Referenced by PyException().