commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (POOL-268) Remove throws <RuntimeException> from all method signatures
Date Sat, 04 Oct 2014 21:53:34 GMT

     [ https://issues.apache.org/jira/browse/POOL-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Phil Steitz closed POOL-268.
----------------------------
    Resolution: Won't Fix

> Remove throws <RuntimeException> from all method signatures
> -----------------------------------------------------------
>
>                 Key: POOL-268
>                 URL: https://issues.apache.org/jira/browse/POOL-268
>             Project: Commons Pool
>          Issue Type: Improvement
>    Affects Versions: 2.2
>            Reporter: Michael Osipov
>
> Unfortunately, many signatures carry a {{throws <RuntimeException>}} like {{IllegalStateException}},
etc. This is incorrect. A runtime exception never appears in the signature but only in the
Javadocs because runtime exception indicate a programming error.
> This violates against Java programming rules and Joshua Bloch's Effective Java.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message