[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to