OpenWalnut
1.4.0
|
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. |
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.
WDHNoSuchSubject::WDHNoSuchSubject | ( | const std::string & | msg = "DataHandler Exception: Requested subject does not exist." | ) | [explicit] |
Constructs new exception.
msg | the reason for this exception. |
Definition at line 29 of file WDHNoSuchSubject.cpp.
WDHNoSuchSubject::~WDHNoSuchSubject | ( | ) | throw () [virtual] |
Destroys this exception.
Definition at line 35 of file WDHNoSuchSubject.cpp.