You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2008/01/09 09:56:34 UTC
[jira] Created: (IO-154) Throw IllegalArgumentException when
parameters are null (and explicitly checked)
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: AFTER-1.4
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.
[jira] Resolved: (IO-154) Throw IllegalArgumentException when
parameters are null (and explicitly checked)
Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
[ 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.