#include <Exceptions.h>
Inheritance diagram for Exception:
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 pircbot's public interfaces.
This constraint gives the users of pircbot 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 pircbot are caught and rewrapped inside of this Exception. Therefore, no Standard Library exceptions will be thrown outside of pircbot.
|
Default Empty virtual destructor.
|
|
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.
|