[ https://issues.apache.org/jira/browse/LANG-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512757 ]
Paul Benedict commented on LANG-52: ----------------------------------- This can be fixed in the 2.x line. Add a second constructor to NullArgumentException which accepts both the name of the offending field and the message. Because the name isn't provided by Validate, just pass in null for it, but if it exists you can append both messages together. > [lang] Validate.notNull should throw NullArgumentException > ---------------------------------------------------------- > > Key: LANG-52 > URL: https://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 > Fix For: 3.0 > > Attachments: LANG-52.patch > > > Validate.notNull throws a IllegalArgumentException but should throw a > NullArgumentException -- 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]