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

Emmanuel Lecharny closed DIRMINA-770.
-------------------------------------


Fixed

> Remove all the new NullPointerException() 
> ------------------------------------------
>
>                 Key: DIRMINA-770
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-770
>             Project: MINA
>          Issue Type: Bug
>    Affects Versions: 2.0.0-RC1
>            Reporter: Emmanuel Lecharny
>            Priority: Critical
>             Fix For: 2.0.0
>
>
> There are 165 places in the code where we throw a newly created 
> NullPointerException. This is not the right way to handle null parameters : 
> the IllegalArgumentException must be used in this case, since Jdk 1.0.

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

Reply via email to