org.apache.commons.math
Class ArgumentOutsideDomainException

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.FunctionEvaluationException
                  extended by org.apache.commons.math.ArgumentOutsideDomainException
All Implemented Interfaces:
Serializable, MathThrowable

public class ArgumentOutsideDomainException
extends FunctionEvaluationException

Error thrown when a method is called with an out of bounds argument.

Since:
1.2
Version:
$Revision: 1070725 $ $Date: 2011-02-15 02:31:12 +0100 (mar. 15 févr. 2011) $
See Also:
Serialized Form

Constructor Summary
ArgumentOutsideDomainException(double argument, double lower, double upper)
          Constructs an exception with specified formatted detail message.
 
Method Summary
 
Methods inherited from class org.apache.commons.math.FunctionEvaluationException
getArgument
 
Methods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArgumentOutsideDomainException

public ArgumentOutsideDomainException(double argument,
                                      double lower,
                                      double upper)
Constructs an exception with specified formatted detail message. Message formatting is delegated to MessageFormat.

Parameters:
argument - the failing function argument
lower - lower bound of the domain
upper - upper bound of the domain


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.