org.apache.commons.math.exception
Class NotStrictlyPositiveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.apache.commons.math.exception.MathIllegalArgumentException
org.apache.commons.math.exception.MathIllegalNumberException
org.apache.commons.math.exception.NumberIsTooSmallException
org.apache.commons.math.exception.NotStrictlyPositiveException
- All Implemented Interfaces:
- Serializable, MathThrowable
public class NotStrictlyPositiveException
- extends NumberIsTooSmallException
Exception to be thrown when the argument is negative.
- Since:
- 2.2
- Version:
- $Revision$ $Date$
- 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 © 2003-2011 The Apache Software Foundation. All Rights Reserved.