[
https://issues.apache.org/jira/browse/LANG-585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Yandell updated LANG-585:
-------------------------------
Affects Version/s: (was: 3.0)
Fix Version/s: 3.0
Agreed, setting fix version to 3.0.
> exception.DefaultExceptionContext.getFormattedExceptionMessage catches
> Throwable
> --------------------------------------------------------------------------------
>
> Key: LANG-585
> URL: https://issues.apache.org/jira/browse/LANG-585
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.exception.*
> Reporter: Sebb
> Fix For: 3.0
>
>
> It's generally a bad idea to catch Throwable.
> The getFormattedExceptionMessage method should be changed to catch less; e.g.
> Exception + RuntimeException should be adequate.
> The Javadoc examples in ContextedException and ContextedRuntimeException
> suggest catching Throwable; these examples should be changed too.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.