commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IO-154) Throw IllegalArgumentException when parameters are null (and explicitly checked)
Date Thu, 07 Feb 2008 01:43:08 GMT

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

Niall Pemberton resolved IO-154.
--------------------------------

    Resolution: Won't Fix

Don't think there was any interest in doing this

> Throw IllegalArgumentException when parameters are null (and explicitly checked)
> --------------------------------------------------------------------------------
>
>                 Key: IO-154
>                 URL: https://issues.apache.org/jira/browse/IO-154
>             Project: Commons IO
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Niall Pemberton
>            Priority: Minor
>             Fix For: 2.x
>
>
> IO is currently inconsistent with it explicitly throwing either a NullPointerException
or IllegalArgumentException when a methods arguments are null - see discussion on IO-77. Review
and change IO to only explcitly throw IllegalArgumentException in this scenario.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message