Nested Try Statements in Java