directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1515) Remove the 'throw new NullPointerException' in the code
Date Fri, 04 Jun 2010 08:11:19 GMT
Remove the 'throw new NullPointerException' in the code
-------------------------------------------------------

                 Key: DIRSERVER-1515
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1515
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 1.5.7
            Reporter: Emmanuel Lecharny
             Fix For: 2.0.0-RC1


There are 43 places where we throw a NullPointerException explicitely. This is very worng.
If we do that when a method argument is null, we should instead throw a IllegalArgumentException.

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


Mime
View raw message