OpenWalnut  1.2.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions
WDHNoSuchSubject Class Reference

Should be thrown when an invalid index is used to get a WSubject from the WDataHandler. More...

#include <WDHNoSuchSubject.h>

+ Inheritance diagram for WDHNoSuchSubject:

List of all members.

Public Member Functions

 WDHNoSuchSubject (const std::string &msg="DataHandler Exception: Requested subject does not exist.")
 Constructs new exception.
virtual ~WDHNoSuchSubject () throw ()
 Destroys this exception.
- Public Member Functions inherited from WDHException
 WDHException (const std::string &msg="DataHandler Exception")
 Default constructor.
virtual ~WDHException () 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.

Detailed Description

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.


Constructor & Destructor Documentation

WDHNoSuchSubject::WDHNoSuchSubject ( const std::string &  msg = "DataHandler Exception: Requested subject does not exist.")
explicit

Constructs new exception.

Parameters:
msgthe 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.


The documentation for this class was generated from the following files: