commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gzak <>
Subject [GitHub] commons-lang pull request: Ability to throw checked exceptions wit...
Date Fri, 19 Jun 2015 19:01:03 GMT
GitHub user gzak opened a pull request:

    Ability to throw checked exceptions without declaring them

    One of Java's most controversial features is checked exceptions, and most other languages&mdash;including
newer JVM-based languages (Scala, Clojure, etc.)&mdash;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.

You can merge this pull request into a Git repository by running:

    $ git pull master

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #98
commit 0f553bed71bb984d30764c3b14d844d323572486
Author: Gregory Zak <>
Date:   2015-06-19T18:37:33Z

    Add utility method to allow checked exceptions to be rethrown without explicitly declaring


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message