commons-issues mailing list archives

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

                 Key: LANG-602
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.exception.*
    Affects Versions: 3.0
            Reporter: Derek C. Ashmore

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