public class NumberIsTooSmallException extends MathIllegalNumberException
| Constructor and Description |
|---|
NumberIsTooSmallException(Localizable specific,
Number wrong,
Number minIn,
boolean boundIsAllowedIn)
Construct the exception with a specific context.
|
NumberIsTooSmallException(Number wrong,
Number minIn,
boolean boundIsAllowedIn)
Construct the exception.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoundIsAllowed() |
Number |
getMin() |
getArgumentgetContext, getLocalizedMessage, getMessageaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NumberIsTooSmallException(Number wrong, Number minIn, boolean boundIsAllowedIn)
wrong - Value that is smaller than the minimum.minIn - Minimum.boundIsAllowedIn - Whether min is included in the allowed range.public NumberIsTooSmallException(Localizable specific, Number wrong, Number minIn, boolean boundIsAllowedIn)
specific - Specific context pattern.wrong - Value that is smaller than the minimum.minIn - Minimum.boundIsAllowedIn - 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 © 2025 CNES. All rights reserved.