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:
parent
487eaeecfc
commit
732f83c0b5
|
@ -430,7 +430,7 @@ public class EmpiricalDistributionImpl implements Serializable, EmpiricalDistrib
|
|||
* @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);
|
||||
|
|
Loading…
Reference in New Issue