On 12/15/11 8:57 PM, Sébastien Brisard wrote:
> 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?

I would just throw MathIAE with a reasonable message.  In other
words, I would ignore the javadoc and would personally recommend
that we remove the comment.

Phil
> Thanks!
> Sébastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


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

Reply via email to