OpenWalnut
1.4.0
|
Indicates invalid type of something. More...
#include <WTypeMismatch.h>
Public Member Functions | |
WTypeMismatch (const std::string &msg="Types mismatching.") | |
Default constructor. | |
virtual | ~WTypeMismatch () throw () |
Destructor. |
Indicates invalid type of something.
This is a general purpose exception wherever a dynamic cast fails for example.
Definition at line 36 of file WTypeMismatch.h.
WTypeMismatch::WTypeMismatch | ( | const std::string & | msg = "Types mismatching." | ) | [explicit] |
Default constructor.
msg | the exception message. |
Definition at line 29 of file WTypeMismatch.cpp.
WTypeMismatch::~WTypeMismatch | ( | ) | throw () [virtual] |
Destructor.
Definition at line 35 of file WTypeMismatch.cpp.