public final class PrologException extends JPLException
This method provides High-Level interface programmers to handle such exceptions, providing error management between Prolog and Java.
Use the exception_term() accessor to obtain the Term that was thrown via the throw/1 Prolog predicate.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library Public License for more details.
| Modifier | Constructor and Description |
|---|---|
protected |
PrologException(Term term) |
| Modifier and Type | Method and Description |
|---|---|
Term |
term() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2015. All rights reserved.