You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gilles Sadowski <gi...@gmail.com> on 2022/03/25 15:47:45 UTC

[Math] Remove "NullArgumentException"

Hello.

Consistently with recent discussion (e.g. new implementation of
"genetic algorithms"), we've informally agreed to stick with the
standard exceptions (defined by the JDK).
Case in point: "NullArgumentException"[1] should be removed from
the code base, in favour of "NullPointerException".[2]

Regards,
Gilles

[1] https://gitbox.apache.org/repos/asf?p=commons-math.git;a=blob;f=commons-math-legacy-exception/src/main/java/org/apache/commons/math4/legacy/exception/NullArgumentException.java;h=ec371bb20a7acc41692789029c9bfa424cf14fb9;hb=HEAD
[2] https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org