Try-Catch-Finally
Exceptions are a difficult language feature in several ways. Some functional languages like OCaml implement exceptions in a way that is fairly cheap from a proessing standpoint. Java does not, so there is some question as to whether you would want to include Java exceptions in a functional language for the JVM.
But, just in case you do, JFuncMachine provides a TryCatchFinally
expression. You can supply an expression to try, an array of
0 or more catch blocks that each catch a certain type of
exception and execute an expression. You can also supply a finally
block that executes after the try or catch exception executes.