org.apache.commons.math
Class DuplicateSampleAbscissaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.math.MathException
              extended by 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: 746578 $ $Date: 2009-02-21 15:01:14 -0500 (Sat, 21 Feb 2009) $
See Also:
Serialized Form

Constructor Summary
DuplicateSampleAbscissaException(double abscissa, int i1, int i2)
          Construct an exception indicating the duplicate abscissa.
 
Method Summary
 double getDuplicateAbscissa()
          Get the duplicate abscissa.
 
Methods inherited from class org.apache.commons.math.MathException
getArguments, getLocalizedMessage, getMessage, getPattern, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateSampleAbscissaException

public DuplicateSampleAbscissaException(double abscissa,
                                        int i1,
                                        int i2)
Construct an exception indicating the duplicate abscissa.

Parameters:
abscissa - duplicate abscissa
i1 - index of one entry having the duplicate abscissa
i2 - index of another entry having the duplicate abscissa
Method Detail

getDuplicateAbscissa

public double getDuplicateAbscissa()
Get the duplicate abscissa.

Returns:
duplicate abscissa


Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.