Class DistributionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.commons.statistics.distribution.DistributionException
- All Implemented Interfaces:
Serializable
Package private exception class with constants for frequently used messages.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final StringError message for "invalid non-zero probability" condition when "x not in (0, 1]".(package private) static final StringError message for "invalid probability" condition when "x not in [0, 1]".(package private) static final StringError message for "invalid range" condition when "lower > upper".(package private) static final StringError message for "invalid range" condition when "lower >= upper".(package private) static final StringError message for "negative" condition whenx < 0.(package private) static final StringError message for "not strictly positive" condition whenx <= 0.(package private) static final StringError message for "not strictly positive finite" condition whenx <= 0 || x == inf.(package private) static final StringError message for "out of range" condition when "x not in [a, b]".private static final longSerializable version identifier.(package private) static final StringError message for "too large" condition whenx > y.(package private) static final StringError message for "too small" condition whenx < y. -
Constructor Summary
ConstructorsConstructorDescriptionDistributionException(String message, Object... formatArguments) Creates an exception. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
TOO_LARGE
-
TOO_SMALL
-
OUT_OF_RANGE
Error message for "out of range" condition when "x not in [a, b]".- See Also:
-
INVALID_RANGE_LOW_GTE_HIGH
Error message for "invalid range" condition when "lower >= upper".- See Also:
-
INVALID_RANGE_LOW_GT_HIGH
Error message for "invalid range" condition when "lower > upper".- See Also:
-
INVALID_PROBABILITY
Error message for "invalid probability" condition when "x not in [0, 1]".- See Also:
-
INVALID_NON_ZERO_PROBABILITY
Error message for "invalid non-zero probability" condition when "x not in (0, 1]".- See Also:
-
NEGATIVE
-
NOT_STRICTLY_POSITIVE
Error message for "not strictly positive" condition whenx <= 0.- See Also:
-
NOT_STRICTLY_POSITIVE_FINITE
Error message for "not strictly positive finite" condition whenx <= 0 || x == inf.- See Also:
-
serialVersionUID
private static final long serialVersionUIDSerializable version identifier.- See Also:
-
-
Constructor Details
-
DistributionException
-