edu.vub.at.exceptions.signals
Class SignalEscape

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byedu.vub.at.exceptions.signals.Signal
                  extended byedu.vub.at.exceptions.signals.SignalEscape
All Implemented Interfaces:
java.io.Serializable

public class SignalEscape
extends Signal

Author:
tvc A SignalEscape signal exception is raised whenever the 'quit' function of an escape block is invoked. It causes control of the interpreter to return to the invocation of the escape block. In other words, SignalEscape 'abuses' the Java exception handling mechanism to perform a non-local return.
See Also:
Serialized Form

Field Summary
 ATClosure originatingBlock
           
 ATObject returnedValue
           
private static long serialVersionUID
           
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SignalEscape(ATClosure originatingBlock, ATObject returnedValue)
           
 
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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

originatingBlock

public ATClosure originatingBlock

returnedValue

public ATObject returnedValue
Constructor Detail

SignalEscape

public SignalEscape(ATClosure originatingBlock,
                    ATObject returnedValue)