Some exceptions thrown in multi threaded mode may be removed in the
future. The user should never catch specific exceptions, but instead
catch instances of PrologException.
See Known Bugs and Limitations for details on the limitations of multi threaded Jasper.