Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-602

ContextedRuntimeException no longer an 'unchecked' exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0
    • lang.exception.*
    • None

    Description

      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.

      Attachments

        1. ContextedRuntimeException.java
          7 kB
          Derek C. Ashmore

        Activity

          People

            joehni Joerg Schaible
            dashmore Derek C. Ashmore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: