MathIllegalArgumentException
@Deprecated public class NumberIsTooLargeException extends MathIllegalNumberException
INTEGER_ZERO
Constructor and Description |
---|
NumberIsTooLargeException(Localizable specific,
Number wrong,
Number max,
boolean boundIsAllowed)
Deprecated.
Construct the exception with a specific context.
|
NumberIsTooLargeException(Number wrong,
Number max,
boolean boundIsAllowed)
Deprecated.
Construct the exception.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoundIsAllowed()
Deprecated.
|
Number |
getMax()
Deprecated.
|
getArgument
createInternalError, createInternalError, getLocalizedMessage, getMessage, getMessage, getParts, getSpecifier
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NumberIsTooLargeException(Number wrong, Number max, boolean boundIsAllowed)
wrong
- Value that is larger than the maximum.max
- Maximum.boundIsAllowed
- if true the maximum is included in the allowed range.public NumberIsTooLargeException(Localizable specific, Number wrong, Number max, boolean boundIsAllowed)
specific
- Specific context pattern.wrong
- Value that is larger than the maximum.max
- Maximum.boundIsAllowed
- 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 © 2016–2019 Hipparchus.org. All rights reserved.