Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| GNU Prolog for Java
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| GNU Prolog for Java
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD