You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Girish Sivakumar (Jira)" <ji...@apache.org> on 2020/01/20 05:51:00 UTC

[jira] [Closed] (LANG-1515) A generic Fuction that can wrap functions that throw checked throwables

     [ https://issues.apache.org/jira/browse/LANG-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Girish Sivakumar closed LANG-1515.
----------------------------------
    Resolution: Duplicate

Requested feature already implemented in https://github.com/apache/commons-lang/blob/master/src/main/java/org/apache/commons/lang3/Functions.java

> A generic Fuction that can wrap functions that throw checked throwables
> -----------------------------------------------------------------------
>
>                 Key: LANG-1515
>                 URL: https://issues.apache.org/jira/browse/LANG-1515
>             Project: Commons Lang
>          Issue Type: New Feature
>          Components: lang.*
>            Reporter: Girish Sivakumar
>            Priority: Minor
>
> A generic Function that can wrap functions that throw checked throwables.
> Delegate the call to a provided implementation of a functional interface that throws a throwable, catch any checked throwables and rethrow them wrapped in a RuntimeException



--
This message was sent by Atlassian Jira
(v8.3.4#803005)