#include <Exceptions.h>
Inheritance diagram for InternalProgrammerErrorException:
Public Member Functions | |
virtual | ~InternalProgrammerErrorException () |
Default Empty virtual destructor. |
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
|
Default Empty virtual destructor.
|