OpenWalnut  1.4.0
Public Member Functions
WTypeMismatch Class Reference

Indicates invalid type of something. More...

#include <WTypeMismatch.h>

+ Inheritance diagram for WTypeMismatch:

List of all members.

Public Member Functions

 WTypeMismatch (const std::string &msg="Types mismatching.")
 Default constructor.
virtual ~WTypeMismatch () throw ()
 Destructor.

Detailed Description

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.


Constructor & Destructor Documentation

WTypeMismatch::WTypeMismatch ( const std::string &  msg = "Types mismatching.") [explicit]

Default constructor.

Parameters:
msgthe exception message.

Definition at line 29 of file WTypeMismatch.cpp.

WTypeMismatch::~WTypeMismatch ( ) throw () [virtual]

Destructor.

Definition at line 35 of file WTypeMismatch.cpp.


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