AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxPython::ScriptError Class Reference

Exception base class for all fatal runtime errors caused by Python scripts. More...

#include <ScriptManager.h>

+ Inheritance diagram for agxPython::ScriptError:

Public Member Functions

 ScriptError ()
 
 ScriptError (const ScriptError &other)
 
 ScriptError (std::string scriptError, std::string scriptFile)
 
virtual ~ScriptError ()
 
virtual const char * what () const AGX_NOEXCEPT override
 

Detailed Description

Exception base class for all fatal runtime errors caused by Python scripts.

Thrown only by the ScriptManager, whose source file also implements multiple derived ScriptError classes for each main error type. Catching exceptions of this base type is enough wherever error handling of script execution should happen. It derives from STLs std::exception if any handler wish to rethrow the exception upwards (e.g for logging or other purposes)

Definition at line 85 of file agxPython/ScriptManager.h.

Constructor & Destructor Documentation

agxPython::ScriptError::ScriptError ( )
agxPython::ScriptError::ScriptError ( const ScriptError &  other)
agxPython::ScriptError::ScriptError ( std::string  scriptError,
std::string  scriptFile 
)
virtual agxPython::ScriptError::~ScriptError ( )
virtual

Member Function Documentation

virtual const char* agxPython::ScriptError::what ( ) const
overridevirtual

The documentation for this class was generated from the following file: