commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-343) Validate: Throw NullArgumentException
Date Sat, 14 Jul 2007 16:04:04 GMT

    [ https://issues.apache.org/jira/browse/LANG-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512723
] 

Paul Benedict commented on LANG-343:
------------------------------------

Henri, I read the other issue. There's at least an enhancement here for 2.3 :-) The JavaDoc
does not clearly state the message will append "must not be null." I didn't know this and
I've been putting full sentences into the exception message. Could you change the title of
this ticket, and update the javadoc to make it known? Just show an example that passing in
"str" will result in a message like "str must not be null"

> Validate: Throw NullArgumentException
> -------------------------------------
>
>                 Key: LANG-343
>                 URL: https://issues.apache.org/jira/browse/LANG-343
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Paul Benedict
>
> Validate methods should throw NullArgumentException on detecting null, not just IllegalArgumentException
(its superclass)

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


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


Mime
View raw message