|
OpenWalnut
1.2.5
|
General purpose exception and therefore base class for all graphics engine related exceptions. More...
#include <WGEException.h>
Inheritance diagram for WGEException:Public Member Functions | |
| WGEException (const std::string &msg="Graphics Engine Exception") | |
| Default constructor. | |
| virtual | ~WGEException () throw () |
| Destructor. | |
Public Member Functions inherited from WException | |
| WException (const std::string &msg=std::string()) | |
| Default constructor. | |
| WException (const std::exception &e) | |
| Copy a std::exception and encapsulate it. | |
| virtual | ~WException () throw () |
| Destructor. | |
| virtual const char * | what () const throw () |
| Returns the message string set on throw. | |
| std::string | getTrace () const |
| Prints the trace of the call chain which caused this exception. | |
| std::string | getBacktrace () const |
| Returns a call stacktrace. | |
Additional Inherited Members | |
Static Public Member Functions inherited from WException | |
| static void | disableBacktrace () |
| Function disables backtraces. | |
Protected Attributes inherited from WException | |
| std::string | m_msg |
| Message given during throw. | |
| std::list< std::string > | m_trace |
| Stack trace for identifying the source where this exception came from. | |
Static Protected Attributes inherited from WException | |
| static bool | noBacktrace = false |
| True if the backtrace should NOT be printed. | |
General purpose exception and therefore base class for all graphics engine related exceptions.
Definition at line 38 of file WGEException.h.
|
explicit |
Default constructor.
| msg | the exception message. |
Definition at line 29 of file WGEException.cpp.
|
virtual |
Destructor.
Definition at line 34 of file WGEException.cpp.
1.8.1