commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <gil...@harfang.homelinux.org>
Subject Re: [math] Updating Regression questions..
Date Sat, 10 Sep 2011 18:20:03 GMT
On Sat, Sep 10, 2011 at 01:02:30PM -0500, Greg Sterijevski wrote:
> One more question, if the request list is null, what is the proper return? A
> null or is an exception returned?

I think that we didn't quite decided whether to always check for null
argument, or let the JVM generate a standard "NullPointerException" upon use
of that argument.
The alternative was to consider it an illegal argument and throw our own
"NullArgumentException" (a subclass of "MathIllegalArgumentException").


Best,
Gilles

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


Mime
View raw message