Announcement Announcement Module
Collapse
No announcement yet.
TransactionTemplate.execute() - unreachable code? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?
Working...
X