pnuts.lang
Class Escape

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--pnuts.lang.Escape
Direct Known Subclasses:
Jump

public class Escape
extends java.lang.RuntimeException

This class is a special Exception class in a Pnuts runtime. It's not checked by exception handlers. This class is used to implement return() function from the top-level and quit() function.

See Also:
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, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, 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()