commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-491) ExceptionUtils + ExceptionUtilsTest needs an overhaul
Date Sat, 02 Jan 2010 05:43:54 GMT

    [ https://issues.apache.org/jira/browse/LANG-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795824#action_12795824
] 

Henri Yandell commented on LANG-491:
------------------------------------

Considered adding an initCause wrapper to replace setCause; it would basically just be a null
safe and exception protecting call to the underlying Throwable method. 

Both of the exceptions seem very relevant and shouldn't be hidden; and the primary use for
initCause would be in a child of an Exception that doesn't provide a Throwable set of constructors;
so null protection is unneeded.

> ExceptionUtils + ExceptionUtilsTest needs an overhaul
> -----------------------------------------------------
>
>                 Key: LANG-491
>                 URL: https://issues.apache.org/jira/browse/LANG-491
>             Project: Commons Lang
>          Issue Type: Sub-task
>          Components: lang.exception.*
>            Reporter: Henri Yandell
>             Fix For: 3.0
>
>
> With the nested stuff removed, ExceptionUtils and its test class are carrying some baggage.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message