Actually, I take that back.  After I tested it with just the outer try/catch, the return value of the method was always -1, because the insert only works once, then fails and throws an exception which skips the select id in the second statement.