#include <Exceptions.h>
Public Member Functions | |
virtual const char * | what () const throw () |
Get the message or jist of what occurred when the exception was thrown. | |
virtual | ~Exception () |
Default Empty virtual destructor. |
This mimicks the Standard Library's exception class. The reason for it and not the standard library is because the Standard Library cannot be used in any of rebeccaAIML's public interfaces.
This constraint gives the users of rebeccaAIML the choice of their own Standard Library and not become tied to a particular implementation of the Standard Library.
All Standard Library exceptions that occur inside of rebeccaAIML are caught and rewrapped inside of this Exception. Therefore, no Standard Library exceptions will be thrown outside of rebeccaAIML.
virtual ~Exception | ( | ) | [inline, virtual] |
Default Empty virtual destructor.
virtual const char* what | ( | ) | const throw () [inline, virtual] |
Get the message or jist of what occurred when the exception was thrown.
By default, if a sub class does not override this method and throw a custom message, this will return "unknown exception" message.
Will | not throw any |