MathIllegalArgumentException
@Deprecated public class NumberIsTooSmallException extends MathIllegalNumberException
INTEGER_ZERO
Constructor and Description |
---|
NumberIsTooSmallException(Localizable specific,
Number wrong,
Number min,
boolean boundIsAllowed)
Deprecated.
Construct the exception with a specific context.
|
NumberIsTooSmallException(Number wrong,
Number min,
boolean boundIsAllowed)
Deprecated.
Construct the exception.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoundIsAllowed()
Deprecated.
|
Number |
getMin()
Deprecated.
|
getArgument
createInternalError, createInternalError, getLocalizedMessage, getMessage, getMessage, getParts, getSpecifier
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NumberIsTooSmallException(Number wrong, Number min, boolean boundIsAllowed)
wrong
- Value that is smaller than the minimum.min
- Minimum.boundIsAllowed
- Whether min
is included in the allowed range.public NumberIsTooSmallException(Localizable specific, Number wrong, Number min, boolean boundIsAllowed)
specific
- Specific context pattern.wrong
- Value that is smaller than the minimum.min
- Minimum.boundIsAllowed
- Whether min
is included in the allowed range.public boolean getBoundIsAllowed()
true
if the minimum is included in the allowed range.public Number getMin()
Copyright © 2016-2021 CS GROUP. All rights reserved.