|
pelib
2.0.0
|
#include <CastException.hpp>
Public Member Functions | |
| CastException (const std::string &message) | |
| CastException (const char *message) | |
| virtual | ~CastException () throw () |
| virtual const char * | what () const throw () |
Protected Attributes | |
| std::string | msg |
Exception thrown upon failed cast attempts from a superclass to a derived class
Definition at line 30 of file CastException.hpp.
| pelib::CastException::CastException | ( | const std::string & | message | ) | [explicit] |
Constructor
| message | Message to display to the screen if the exception is not caught |
Definition at line 32 of file CastException.cpp.
| pelib::CastException::CastException | ( | const char * | message | ) | [explicit] |
Constructor
| message | Message to display to the screen if the exception is not caught |
Definition at line 37 of file CastException.cpp.
| pelib::CastException::~CastException | ( | ) | throw () [virtual] |
Destructor
Definition at line 42 of file CastException.cpp.
| const char * pelib::CastException::what | ( | ) | const throw () [virtual] |
Returns a human-readable string that explains the reason that lead to throwing this exception
Definition at line 48 of file CastException.cpp.
std::string pelib::CastException::msg [protected] |
Human-readable message to show if the exception is not caught
Definition at line 52 of file CastException.hpp.