commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Brisard <sebastien.bris...@m4x.org>
Subject [math] OK to instanciate MathIllegalArgumentException directly?
Date Fri, 16 Dec 2011 03:57:02 GMT
Hi,
I'm still working on MATH-677, and would like to remove the
IllegalArgumentExceptions thrown if the length of the data set is not
a power of two. I was simply considering throwing
MathIllegalArgumentException, but this is discouraged in the Javadoc.
Can I break this rule, or should I create a NotAPowerOfTwoException
subclass?
Thanks!
S├ębastien


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


Mime
View raw message