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:
Serializable,MathThrowable
Error thrown when a method is called with an out of bounds argument.
- Since:
- 1.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionArgumentOutsideDomainException(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
getArgumentMethods 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
-
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
-