Reflects Python's built-in class exceptions.Exception. More...

#include "Exception.hpp"

+ Inheritance diagram for PythonException:

Public Member Functions

 PythonException (const char *errorMessage)
- Public Member Functions inherited from Python
 Python (const char *errorMessage)
- Public Member Functions inherited from Base
 Base (const char *errorMessage, ErrorCode::Type errorCode=ErrorCode::unknown)
 Base (const Base &ref)
ErrorCode::Type errorCode () const
 returns the error code
const char * errorMessage () const
 returns the actual error message
const char * what () const _GLIBCXX_USE_NOEXCEPT
 returns the full error message including the error code: "Error XXXX: Text..."

Protected Member Functions

 PythonException (const char *errorMessage, ErrorCode::Type code)
- Protected Member Functions inherited from Python
 Python (const char *errorMessage, ErrorCode::Type code)
 Constructor for child classes.

Additional Inherited Members

- Protected Attributes inherited from Base
ErrorCode::Type e_Code
unsigned u_MessagePos

Detailed Description

Reflects Python's built-in class exceptions.Exception.

All of Python's built-in, non-system-exiting exceptions are derived from that class.