gnu.prolog.vm
Class PrologHalt
java.lang.Object
java.lang.Throwable
java.lang.Error
gnu.prolog.vm.PrologHalt
- All Implemented Interfaces:
- Serializable
public class PrologHalt
- extends Error
Thrown by the halt/1 prolog predicate to stop the interpreter
- Author:
- Michiel Hendriks
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
exitCode
protected int exitCode
PrologHalt
public PrologHalt(int exit)
getExitCode
public int getExitCode()
- Returns:
- the exitCode