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] Assigned: (DIRSERVER-1515) Remove the 'throw new NullPointerException' in the code
Date Fri, 04 Jun 2010 13:01:04 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny reassigned DIRSERVER-1515:
--------------------------------------------

    Assignee: Emmanuel Lecharny

> 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
>            Assignee: 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