#include <swig.h>
 | 
| static bool  | ParsePythonException (std::string &exceptionType, std::string &exceptionValue, std::string &exceptionTraceback) | 
|   | 
 | 
| 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 
 
◆ PythonToCppException() [1/2]
      
        
          | 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. 
 
 
◆ PythonToCppException() [2/2]
      
        
          | PythonBindings::PythonToCppException::PythonToCppException  | 
          ( | 
          const std::string & |           exceptionType,  | 
        
        
           | 
           | 
          const std::string & |           exceptionValue,  | 
        
        
           | 
           | 
          const std::string & |           exceptionTraceback ) | 
        
      
 
 
◆ ParsePythonException()
  
  
      
        
          | bool PythonBindings::PythonToCppException::ParsePythonException  | 
          ( | 
          std::string & |           exceptionType,  | 
         
        
           | 
           | 
          std::string & |           exceptionValue,  | 
         
        
           | 
           | 
          std::string & |           exceptionTraceback ) | 
         
       
   | 
  
static   | 
  
 
 
◆ SetMessage()
  
  
      
        
          | void PythonBindings::PythonToCppException::SetMessage  | 
          ( | 
          const std::string & |           exceptionType,  | 
         
        
           | 
           | 
          const std::string & |           exceptionValue,  | 
         
        
           | 
           | 
          const std::string & |           exceptionTraceback ) | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: