org.jawk.jrt
Class EndException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jawk.jrt.EndException
All Implemented Interfaces:
java.io.Serializable

public class EndException
extends java.lang.RuntimeException

Thrown when exit() is called within a Jawk script.

Within Jawk, EndException is caught twice. The first catch block executes when exit() is called within BEGIN or action blocks. When invoked, the END blocks are executed. The second catch block executes when exit() is called within any of the END blocks. When invoked, Jawk terminates with an exit code.

See Also:
Serialized Form

Constructor Summary
EndException()
           
EndException(java.lang.String s)
           
 
Method Summary
 
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

EndException

public EndException(java.lang.String s)

EndException

public EndException()