GNU Prolog for Java

gnu.prolog.vm
Class PrologHalt

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by 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

Field Summary
protected  int exitCode
           
 
Constructor Summary
PrologHalt(int exit)
           
 
Method Summary
 int getExitCode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exitCode

protected int exitCode
Constructor Detail

PrologHalt

public PrologHalt(int exit)
Method Detail

getExitCode

public int getExitCode()
Returns:
the exitCode

GNU Prolog for Java