Error Handling in the C++ YAP API.

error handling in C++ and OO languages

These classes define an object that we can then throw when an error or unexoected event interrupts YAP. Often, the object is built by YAP itself. One can also define one's own error objects.

Errors will be thrown from the C++ code, and may be processed in very different ways. The error object should provide as much data as possible.

Var:

1. class X_API YAPPPredicate: