Project

General

Profile

Improvement #2048

Add more TransactionUtil and ThreadUtil signatures for better exception handling

Added by Henning Blohm about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
16.11.2019
Due date:
% Done:

0%

Estimated time:
origin:

Description

In many cases, wrapping execution for transaction boundary of clean thread context requires ugly handling of Callable exceptions. To some extend ThreadUtil.confine reduces noise, but more can be achieved for the most typical lambda use by introducing a ThrowingSupplier and ThrowingRunnable that have a generic and so inferrable exception use.

#1

Updated by Henning Blohm about 5 years ago

  • Target version set to 2.8
#2

Updated by Henning Blohm about 5 years ago

  • Status changed from In Progress to To Be Documented
#3

Updated by Henning Blohm almost 5 years ago

  • Status changed from To Be Documented to Resolved

Also available in: Atom PDF