org.apache.commons.math3.exception
public class OutOfRangeException extends MathIllegalNumberException
Modifier and Type | Field and Description |
---|---|
private Number |
hi
Higher bound.
|
private Number |
lo
Lower bound.
|
private static long |
serialVersionUID
Serializable version Id.
|
Constructor and Description |
---|
OutOfRangeException(Localizable specific,
Number wrong,
Number lo,
Number hi)
Construct an exception from the mismatched dimensions with a
specific context information.
|
OutOfRangeException(Number wrong,
Number lo,
Number hi)
Construct an exception from the mismatched dimensions.
|
Modifier and Type | Method and Description |
---|---|
Number |
getHi() |
Number |
getLo() |
getArgument
getContext, getLocalizedMessage, getMessage
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
private final Number lo
private final Number hi
public OutOfRangeException(Number wrong, Number lo, Number hi)
wrong
- Requested value.lo
- Lower bound.hi
- Higher bound.public OutOfRangeException(Localizable specific, Number wrong, Number lo, Number hi)
specific
- Context information.wrong
- Requested value.lo
- Lower bound.hi
- Higher bound.Copyright (c) 2003-2013 Apache Software Foundation