Package org.apache.commons.math
Class DuplicateSampleAbscissaException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.commons.math.MathException
-
- org.apache.commons.math.DuplicateSampleAbscissaException
-
- All Implemented Interfaces:
java.io.Serializable
,MathThrowable
public class DuplicateSampleAbscissaException extends MathException
Exception thrown when a sample contains several entries at the same abscissa.- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateSampleAbscissaException(double abscissa, int i1, int i2)
Construct an exception indicating the duplicate abscissa.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getDuplicateAbscissa()
Get the duplicate abscissa.-
Methods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
-
-
-
-
Constructor Detail
-
DuplicateSampleAbscissaException
public DuplicateSampleAbscissaException(double abscissa, int i1, int i2)
Construct an exception indicating the duplicate abscissa.- Parameters:
abscissa
- duplicate abscissai1
- index of one entry having the duplicate abscissai2
- index of another entry having the duplicate abscissa
-
-