You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2011/10/07 09:33:21 UTC

svn commit: r1179951 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java

Author: luc
Date: Fri Oct  7 07:33:21 2011
New Revision: 1179951

URL: http://svn.apache.org/viewvc?rev=1179951&view=rev
Log:
Fixed exception type

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java?rev=1179951&r1=1179950&r2=1179951&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/random/EmpiricalDistributionImpl.java Fri Oct  7 07:33:21 2011
@@ -430,7 +430,7 @@ public class EmpiricalDistributionImpl i
      * @return the random value.
      * @throws MathIllegalStateException if the distribution has not been loaded
      */
-    public double getNextValue() throws IllegalStateException {
+    public double getNextValue() throws MathIllegalStateException {
 
         if (!loaded) {
             throw new MathIllegalStateException(LocalizedFormats.DISTRIBUTION_NOT_LOADED);