You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/05/10 15:09:49 UTC
[jira] Closed: (DIRMINA-770) Remove all the new
NullPointerException()
[ 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.