commons-dev mailing list archives

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


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:
>             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:
For additional commands, e-mail:

View raw message