commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek C. Ashmore (JIRA)" <>
Subject [jira] Updated: (LANG-602) ContextedRuntimeException no longer an 'unchecked' exception
Date Sun, 07 Mar 2010 21:30:29 GMT


Derek C. Ashmore updated LANG-602:


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:
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.exception.*
>    Affects Versions: 3.0
>            Reporter: Derek C. Ashmore
>         Attachments:
> 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.

View raw message