public class NumberIsTooSmallException extends MathIllegalNumberException
Modifier and Type | Field and Description |
---|---|
private boolean |
boundIsAllowed
Whether the maximum is included in the allowed range.
|
private java.lang.Number |
min
Higher bound.
|
private static long |
serialVersionUID
Serializable version Id.
|
Constructor and Description |
---|
NumberIsTooSmallException(Localizable specific,
java.lang.Number wrong,
java.lang.Number min,
boolean boundIsAllowed)
Construct the exception with a specific context.
|
NumberIsTooSmallException(java.lang.Number wrong,
java.lang.Number min,
boolean boundIsAllowed)
Construct the exception.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoundIsAllowed() |
java.lang.Number |
getMin() |
getArgument
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getSpecificPattern
private static final long serialVersionUID
private final java.lang.Number min
private final boolean boundIsAllowed
public NumberIsTooSmallException(java.lang.Number wrong, java.lang.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, java.lang.Number wrong, java.lang.Number min, boolean boundIsAllowed)
specific
- Specific contexte pattern .wrong
- Value that is smaller than the minimum.min
- minimum.boundIsAllowed
- Whether min
is included in the allowed range.Copyright (c) 2003-2013 Apache Software Foundation