Project

General

Profile

Improvement #2048

Add more TransactionUtil and ThreadUtil signatures for better exception handling

Added by Henning Blohm 12 months ago. Updated 8 months 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 12 months ago

  • Target version set to 2.8
#2

Updated by Henning Blohm 11 months ago

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

Updated by Henning Blohm 8 months ago

  • Status changed from To Be Documented to Resolved

Also available in: Atom PDF