-
Jan 3rd, 2013, 01:20 AM
#1
TransactionTemplate.execute() - unreachable code?
I noticed that TransactionTemplate.execute() calls on action.doTransaction(status), and catches RuntimeException, Error, and then Exception.
Since TransactionCallback.doTransaction() does not declared any checked exception to be thrown, I don't see how the last catch Exception will happen. Seems like unreachable code to me.
Did I miss anything?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules