GNU Prolog for Java

gnu.prolog.vm.interpreter
Class ExceptionHandlerInfo

java.lang.Object
  extended by gnu.prolog.vm.interpreter.ExceptionHandlerInfo

public class ExceptionHandlerInfo
extends Object

this class contains information about exception handling. Exception handling is modeled after Java exceptions


Field Summary
protected  int endPosition
          end position of code segment
protected  int handlerPosition
          position where to go for exception handling
protected  int startPosition
          start position of code segment
 
Constructor Summary
ExceptionHandlerInfo()
           
 
Method Summary
 String toString()
          convert handler to string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

startPosition

protected int startPosition
start position of code segment


endPosition

protected int endPosition
end position of code segment


handlerPosition

protected int handlerPosition
position where to go for exception handling

Constructor Detail

ExceptionHandlerInfo

public ExceptionHandlerInfo()
Method Detail

toString

public String toString()
convert handler to string

Overrides:
toString in class Object

GNU Prolog for Java