pnuts.lang
Class Escape

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by pnuts.lang.Escape
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Generator.Break, Jump

public class Escape
extends java.lang.RuntimeException

This class is a special Exception class in a Pnuts runtime in that it's not checked by exception handlers. This class is used to implement quit() function.

See Also:
Jump, Serialized Form

Constructor Summary
protected Escape()
           
protected Escape(java.lang.Object value)
           
 
Method Summary
 java.lang.Object getValue()
           
 
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
 

Constructor Detail

Escape

protected Escape()

Escape

protected Escape(java.lang.Object value)
Method Detail

getValue

public java.lang.Object getValue()