|Did you know ...||Search Documentation:|
|C++ exceptions and blobs|
When a blob is used in the context of a PREDICATE() macro, it can
raise a C++ exception (
and the PREDICATE() code will convert it to the appropriate Prolog
failure or error; memory allocation exceptions are also handled.
Blobs have callbacks, which can run outside the context of a PREDICATE(). Their exception handling is as follows:
PlAtom::null, which is interpreted by Prolog as failure.