Class EndException

All Implemented Interfaces:
Serializable

public class EndException extends 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.

Author:
Danny Daglas
See Also:
  • Constructor Details

    • EndException

      public EndException(String s)

      Constructor for EndException.

      Parameters:
      s - a String object
    • EndException

      public EndException()

      Constructor for EndException.