- inline void SetPrintMode(int mode) { m_printMode = mode; }
- inline int GetPrintMode() const { return m_printMode; }
+ // called when a fatal exception occurs, this function should take care not
+ // to do anything which might provoke a nested exception!
+ virtual void OnFatalException() { }
+
+ void SetPrintMode(int mode) { m_printMode = mode; }
+ int GetPrintMode() const { return m_printMode; }