You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dimitrios Efthymiou (Jira)" <ji...@apache.org> on 2023/07/03 09:37:00 UTC
[jira] [Commented] (LANG-1647) Add and ExceptionUtils.isChecked() and isUnchecked()
[ https://issues.apache.org/jira/browse/LANG-1647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17739523#comment-17739523 ]
Dimitrios Efthymiou commented on LANG-1647:
-------------------------------------------
The current implementation of [https://github.com/apache/commons-lang/pull/1069] sees isUnchecked() as the logical opposite of isChecked() which is not true, because the isUnchecked() case is missing the null check. I am creating a PR now for it
> Add and ExceptionUtils.isChecked() and isUnchecked()
> ----------------------------------------------------
>
> Key: LANG-1647
> URL: https://issues.apache.org/jira/browse/LANG-1647
> Project: Commons Lang
> Issue Type: Improvement
> Reporter: Arturo Bernal
> Priority: Minor
> Fix For: 3.13.0
>
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> The idea it's have a function that check if a given throwable is a checked exception. There are some similar function in ConcurrentUtils, but have package visibility and return the same exception.
> Seem logic have this verification in the class that have this responsibility - ExceptionUtils
--
This message was sent by Atlassian Jira
(v8.20.10#820010)