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
public class DuplicateSampleAbscissaException
- extends MathException
Exeption thrown when a sample contains several entries at the same abscissa.
- Since:
- 1.2
- Version:
- $Revision: 620312 $ $Date: 2008-02-10 12:28:59 -0700 (Sun, 10 Feb 2008) $
- See Also:
- Serialized Form
Field Summary |
private static long |
serialVersionUID
Serializable version identifier |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Serializable version identifier
- See Also:
- Constant Field Values
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
getDuplicateAbscissa
public double getDuplicateAbscissa()
- Get the duplicate abscissa.
- Returns:
- duplicate abscissa