public class NumberIsTooLargeException extends MathIllegalNumberException
| Constructor and Description |
|---|
NumberIsTooLargeException(Localizable specific,
Number wrong,
Number maxIn,
boolean boundIsAllowedIn)
Construct the exception with a specific context.
|
NumberIsTooLargeException(Number wrong,
Number maxIn,
boolean boundIsAllowedIn)
Construct the exception.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoundIsAllowed() |
Number |
getMax() |
getArgumentgetContext, getLocalizedMessage, getMessageaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NumberIsTooLargeException(Number wrong, Number maxIn, boolean boundIsAllowedIn)
wrong - Value that is larger than the maximum.maxIn - Maximum.boundIsAllowedIn - if true the maximum is included in the allowed range.public NumberIsTooLargeException(Localizable specific, Number wrong, Number maxIn, boolean boundIsAllowedIn)
specific - Specific context pattern.wrong - Value that is larger than the maximum.maxIn - Maximum.boundIsAllowedIn - if true the maximum is included in the allowed range.public boolean getBoundIsAllowed()
true if the maximum is included in the allowed range.public Number getMax()
Copyright © 2025 CNES. All rights reserved.