in reply to try/finally syntax

You have two errors that both result in that message:

The syntax is

try BLOCK catch (VAR) BLOCK # 5.34+ try BLOCK catch (VAR) BLOCK finally BLOCK # 5.36+

And note that as a flow control statement, it isn't terminated by a semi-colon.