org.apache.commons.math3.exception
Class NotStrictlyPositiveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.commons.math3.exception.MathIllegalArgumentException
org.apache.commons.math3.exception.MathIllegalNumberException
org.apache.commons.math3.exception.NumberIsTooSmallException
org.apache.commons.math3.exception.NotStrictlyPositiveException
- All Implemented Interfaces:
- Serializable, ExceptionContextProvider
public class NotStrictlyPositiveException
- extends NumberIsTooSmallException
Exception to be thrown when the argument is negative.
- Since:
- 2.2
- Version:
- $Id: NotStrictlyPositiveException.java 3720 2012-03-16 16:34:17Z CardosoP $
- See Also:
- Serialized Form
NotStrictlyPositiveException
public NotStrictlyPositiveException(Number value)
- Construct the exception.
- Parameters:
value - Argument.
NotStrictlyPositiveException
public NotStrictlyPositiveException(Localizable specific,
Number value)
- Construct the exception with a specific context.
- Parameters:
specific - Specific context where the error occurred.value - Argument.
Copyright © 2016 CNES. All Rights Reserved.