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

Ability to throw checked exceptions without declaring them

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.5
    • lang.exception.*
    • None

    Description

      Place holder ticket for https://github.com/apache/commons-lang/pull/98

      "One of Java's most controversial features is checked exceptions, and most other languages—including newer JVM-based languages (Scala, Clojure, etc.)—have dispensed with them. Check out this fantastic interview with Anders Hejlsberg (creator of C#) on why checked exceptions are a bad idea.

      This utility gives users a way to dispense with checked exceptions even in Java, in a minimally intrusive fashion. By standardizing such a utility and giving it widespread adoption, hopefully the folks over at Oracle will eventually give in and drop the feature in a later release of Java. Luckily, it wouldn't be backwards incompatible to do so."

      Attachments

        Activity

          People

            chonton Charles Honton
            kinow Bruno P. Kinoshita
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: