|
Sparksee
6.0.2
|

Public Member Functions | |
| Exception () | |
| Creates a new instance. | |
| Exception (const std::string &mess) | |
| Creates a new instance. More... | |
| const std::string & | Message () const |
| Gets the message of the exception. More... | |
| void | SetMessage (const std::string &mess) |
| Sets the message of the exception. More... | |
| virtual | ~Exception () |
| Destructor. | |
Protected Attributes | |
| std::string | message |
| Message of the exception. | |
Exception class.
This is the superclass of those exceptions that can be thrown during the normal execution of a program.
It is expected all methods declare all Exception (or subclasses) they throw.
| Exception::Exception | ( | const std::string & | mess | ) |
Creates a new instance.
| mess | [in] Message of the exception. |
| const std::string& Exception::Message | ( | ) | const |
Gets the message of the exception.
It should be called GetMessage but this is not possible because of a macro defined in Windows.
| void Exception::SetMessage | ( | const std::string & | mess | ) |
Sets the message of the exception.
| mess | [in] Message. |