From 6c4ee56c3da3aebddcc7ad7a5d837da8894c73cb Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Thu, 10 Nov 2011 15:47:23 +0000 Subject: [PATCH] Javadoc git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200390 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/commons/math/util/ArithmeticUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/math/util/ArithmeticUtils.java b/src/main/java/org/apache/commons/math/util/ArithmeticUtils.java index bb303007e..0bd204a47 100644 --- a/src/main/java/org/apache/commons/math/util/ArithmeticUtils.java +++ b/src/main/java/org/apache/commons/math/util/ArithmeticUtils.java @@ -17,6 +17,7 @@ package org.apache.commons.math.util; import org.apache.commons.math.exception.MathArithmeticException; +import org.apache.commons.math.exception.MathIllegalNumberException; import org.apache.commons.math.exception.NotPositiveException; import org.apache.commons.math.exception.NumberIsTooLargeException; import org.apache.commons.math.exception.util.Localizable; @@ -98,7 +99,7 @@ public final class ArithmeticUtils { * @param n the size of the set * @param k the size of the subsets to be counted * @return {@code n choose k} - * @throws MathIllegalArgumentException if preconditions are not met. + * @throws MathIllegalNumberException if preconditions are not met. * @throws MathArithmeticException if the result is too large to be * represented by a long integer. */