Fixed exception type

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1179951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2011-10-07 07:33:21 +00:00
parent 487eaeecfc
commit 732f83c0b5
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ public class EmpiricalDistributionImpl implements Serializable, EmpiricalDistrib
* @return the random value. * @return the random value.
* @throws MathIllegalStateException if the distribution has not been loaded * @throws MathIllegalStateException if the distribution has not been loaded
*/ */
public double getNextValue() throws IllegalStateException { public double getNextValue() throws MathIllegalStateException {
if (!loaded) { if (!loaded) {
throw new MathIllegalStateException(LocalizedFormats.DISTRIBUTION_NOT_LOADED); throw new MathIllegalStateException(LocalizedFormats.DISTRIBUTION_NOT_LOADED);