OpenWalnut
1.2.5
|
Should be thrown when an invalid index is used to get a WSubject from the WDataHandler. More...
#include <WDHNoSuchSubject.h>
Public Member Functions | |
WDHNoSuchSubject (const std::string &msg="DataHandler Exception: Requested subject does not exist.") | |
Constructs new exception. | |
virtual | ~WDHNoSuchSubject () throw () |
Destroys this exception. | |
![]() | |
WDHException (const std::string &msg="DataHandler Exception") | |
Default constructor. | |
virtual | ~WDHException () 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. |
Should be thrown when an invalid index is used to get a WSubject from the WDataHandler.
An index is invalid if it's greater or equal than the number of WSubjects in WDataHandler.
Definition at line 40 of file WDHNoSuchSubject.h.
|
explicit |
Constructs new exception.
msg | the reason for this exception. |
Definition at line 29 of file WDHNoSuchSubject.cpp.
|
virtual |
Destroys this exception.
Definition at line 35 of file WDHNoSuchSubject.cpp.