[
https://issues.apache.org/jira/browse/LANG-602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Derek C. Ashmore updated LANG-602:
----------------------------------
Attachment: ContextedRuntimeException.java
If it helps, I've attached a slightly modified ContextedRuntimeException class
that fixes the issue -- just changes the class to extend RuntimeException
instead of Exception.
Thanks, again, for looking at this.
> ContextedRuntimeException no longer an 'unchecked' exception
> ------------------------------------------------------------
>
> Key: LANG-602
> URL: https://issues.apache.org/jira/browse/LANG-602
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.exception.*
> Affects Versions: 3.0
> Reporter: Derek C. Ashmore
> Attachments: ContextedRuntimeException.java
>
>
> The purpose of ContextedRuntimeException was to provide an 'unchecked'
> exception with contexted features. the fact that it now extends
> 'java.langException' makes it a checked exception identical to
> ContextedException and doesn't fulfill its purpose.
> Recommend you either just remove ContextedRuntimeException (as it's now
> redundant with ContextedException) or revert the change that has it extending
> java.lang.Exception back so that it extends java.lang.RuntimeException. I
> would prefer keeping ContextedRuntimeException and having it extend
> RuntimeException.
> I apologize for not catching this earlier. I only caught it now in attempt
> to use ContextedRuntimeException on one of my projects and discovering that
> it is no longer unchecked.
> Thanks for looking at this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.