kodi
|
This exception is thrown from Director calls that call into python when the Python error is. More...
#include <swig.h>
Public Member Functions | |
PythonToCppException () | |
Assuming a PyErr_Occurred, this will fill the exception message with all of the appropriate information including the traceback if it can be obtained. More... | |
PythonToCppException (const std::string &exceptionType, const std::string &exceptionValue, const std::string &exceptionTraceback) | |
Static Public Member Functions | |
static bool | ParsePythonException (std::string &exceptionType, std::string &exceptionValue, std::string &exceptionTraceback) |
Protected Member Functions | |
void | SetMessage (const std::string &exceptionType, const std::string &exceptionValue, const std::string &exceptionTraceback) |
This exception is thrown from Director calls that call into python when the Python error is.
PythonBindings::PythonToCppException::PythonToCppException | ( | ) |
Assuming a PyErr_Occurred, this will fill the exception message with all of the appropriate information including the traceback if it can be obtained.
It will also clear the python message.