commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <>
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").


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message