InternalProgrammerErrorException Class Reference

This exception occurs because of a programming error inside of RebeccaAIML its self. More...

#include <Exceptions.h>

Inheritance diagram for InternalProgrammerErrorException:

Exception List of all members.

Public Member Functions

virtual ~InternalProgrammerErrorException ()
 Default Empty virtual destructor.

Detailed Description

This exception occurs because of a programming error inside of RebeccaAIML its self.

Rebecca has a series of internal tests which check for corrupted programming as the result of the programmer making mistakes or assumptions which turn out to not be true. When the mistake is grave enough to warrent the termination of the program, this exception is thrown.

Although none of the public interfaces can explicitly throw this exception it is useful to expose it publicly.

If you are getting a Exception which you suspect is a InternalProgrammerErrorException try casting to it. If the cast succeeds, you know there is a serious bug inside of RebeccaAIML that needs to be reported. Take the message from the Exception::what() and file a bug report.

Also, without casting, you can recognize this exception from its Exception::what() output. The format of the Exception::what() will be:

[ (some Method signature) ] message about the method signature.

Example: [StringPimpl Condition::getString()] Condition block code is corrupted


Constructor & Destructor Documentation

virtual ~InternalProgrammerErrorException  )  [inline, virtual]
 

Default Empty virtual destructor.


The documentation for this class was generated from the following file:
Generated on Tue Feb 14 22:44:24 2006 for RebeccaAIML by  doxygen 1.4.5