Serializable
, LocalizedException
MathIllegalArgumentException
@Deprecated public class NumberIsTooLargeException extends MathIllegalNumberException
INTEGER_ZERO
Constructor | Description |
---|---|
NumberIsTooLargeException(Number wrong,
Number max,
boolean boundIsAllowed) |
Deprecated.
Construct the exception.
|
NumberIsTooLargeException(Localizable specific,
Number wrong,
Number max,
boolean boundIsAllowed) |
Deprecated.
Construct the exception with a specific context.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
getBoundIsAllowed() |
Deprecated.
|
Number |
getMax() |
Deprecated.
|
getArgument
createInternalError, createInternalError, getLocalizedMessage, getMessage, getMessage, getParts, getSpecifier
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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–2018 Hipparchus.org. All rights reserved.