OpenWalnut
1.2.5
|
Thrown whenever an unknown prototype is specified. More...
#include <WPrototypeUnknown.h>
Public Member Functions | |
WPrototypeUnknown (const std::string &msg="Prototype unknown") | |
Default constructor. | |
virtual | ~WPrototypeUnknown () throw () |
Destructor. | |
![]() | |
WKernelException (const std::string &msg="Kernel Exception") | |
Default constructor. | |
virtual | ~WKernelException () throw () |
Destructor. | |
![]() | |
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 void | disableBacktrace () |
Function disables backtraces. | |
![]() | |
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 bool | noBacktrace = false |
True if the backtrace should NOT be printed. |
Thrown whenever an unknown prototype is specified.
Definition at line 38 of file WPrototypeUnknown.h.
|
explicit |
Default constructor.
msg | the exception message. |
Definition at line 29 of file WPrototypeUnknown.cpp.
|
virtual |
Destructor.
Definition at line 34 of file WPrototypeUnknown.cpp.