You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Stephen Colebourne (JIRA)" <ji...@apache.org> on 2006/12/29 19:21:22 UTC

[jira] Resolved: (LANG-52) [lang] Validate.notNull should throw NullArgumentException

     [ http://issues.apache.org/jira/browse/LANG-52?page=all ]

Stephen Colebourne resolved LANG-52.
------------------------------------

    Fix Version/s:     (was: 3.0)
       Resolution: Won't Fix

Yes, this method probably should have thrown NullArgumentException, but it doesn't and its too late to fix now. Also, the JDK should have has a NullArgumentException, but there's not much we can do about that either.

> [lang] Validate.notNull should throw NullArgumentException
> ----------------------------------------------------------
>
>                 Key: LANG-52
>                 URL: http://issues.apache.org/jira/browse/LANG-52
>             Project: Commons Lang
>          Issue Type: Bug
>         Environment: Operating System: All
> Platform: All
>            Reporter: Jörg Gottschling
>            Priority: Trivial
>         Attachments: LANG-52.patch
>
>
> Validate.notNull throws a IllegalArgumentException but should throw a
> NullArgumentException

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org