Package org.sentrysoftware.jawk.jrt
Class EndException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.sentrysoftware.jawk.jrt.EndException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionConstructor for EndException.Constructor for EndException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EndException
Constructor for EndException.
- Parameters:
s
- aString
object
-
EndException
public EndException()Constructor for EndException.
-