When opening blocks like this, leave a space before the "{"; so for example:

    try {