put catch on the same line as the closing bracket

} catch {

also don't use abbreviated "exn" in the exception message.