Exception Class Reference

Base Exception class where all AIML exceptions are derived from. More...

#include <Exceptions.h>

Inheritance diagram for Exception:

DirectoryNotFoundException FileNotFoundException IllegalArgumentException InitializationException InternalProgrammerErrorException RecursionException XMLErrorException List of all members.

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.

Detailed Description

Base Exception class where all AIML exceptions are derived from.

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.


Constructor & Destructor Documentation

virtual ~Exception  )  [inline, virtual]
 

Default Empty virtual destructor.


Member Function Documentation

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.

Returns:
Will return the message or jist of what occured when the exception was thrown.
Exceptions:
Will not throw any


The documentation for this class was generated from the following file:
Generated on Mon Apr 10 00:39:58 2006 for RebeccaAIML by  doxygen 1.4.5