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:
Serializable,MathThrowable
Exception thrown when a sample contains several entries at the same abscissa.
- Since:
- 1.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDuplicateSampleAbscissaException(double abscissa, int i1, int i2) Construct an exception indicating the duplicate abscissa. -
Method Summary
Methods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
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
-
-
Method Details
-
getDuplicateAbscissa
public double getDuplicateAbscissa()Get the duplicate abscissa.- Returns:
- duplicate abscissa
-