Package org.apache.commons.math
Class ArgumentOutsideDomainException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.commons.math.MathException
-
- org.apache.commons.math.FunctionEvaluationException
-
- org.apache.commons.math.ArgumentOutsideDomainException
-
- All Implemented Interfaces:
java.io.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
Constructors Constructor Description 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
-
-
-
-
Constructor Detail
-
ArgumentOutsideDomainException
public ArgumentOutsideDomainException(double argument, double lower, double upper)
Constructs an exception with specified formatted detail message. Message formatting is delegated toMessageFormat
.- Parameters:
argument
- the failing function argumentlower
- lower bound of the domainupper
- upper bound of the domain
-
-