public class ParseOptionOutOfRangeException extends ParseRestrictionViolatedException
| Constructor and Description |
|---|
ParseOptionOutOfRangeException(String optionTitle,
Object value,
Object min,
boolean minInclusive,
Object max,
boolean maxInclusive)
Creates a new out of range exception
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getIllegalValue() |
Object |
getMaximumValue() |
Object |
getMinimumValue() |
boolean |
isMaximumInclusive() |
boolean |
isMinimumInclusive() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ParseOptionOutOfRangeException(String optionTitle, Object value, Object min, boolean minInclusive, Object max, boolean maxInclusive)
optionTitle - Option titlevalue - The value which is out of rangemin - Minimum value which may be null for no minimumminInclusive - Whether the minimum value is inclusivemax - Maximum value which may be null for no maximummaxInclusive - Whether the maximum value is inclusiveCopyright © 2012–2022. All rights reserved.