Top Description Fields Constructors Methods
org.apache.commons.math3.exception

public Class NotStrictlyPositiveException

extends NumberIsTooSmallException
Class Inheritance
Imports
org.apache.commons.math3.exception.util.Localizable

Exception to be thrown when the argument is not greater than 0.
Since
2.2

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
NotStrictlyPositiveException(Number
Argument.
value
)

Construct the exception.

public
NotStrictlyPositiveException(Localizable
Specific context where the error occurred.
specific
,
Number
Argument.
value
)

Construct the exception with a specific context.

Method Summary

Inherited from org.apache.commons.math3.exception.NumberIsTooSmallException:
getBoundIsAllowedgetMin

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.commons.math3.exception.NumberIsTooSmallException.serialVersionUID.

Serializable version Id.

Constructor Detail

NotStrictlyPositiveExceptionback to summary
public NotStrictlyPositiveException(Number value)

Construct the exception.

Parameters
value:Number

Argument.

NotStrictlyPositiveExceptionback to summary
public NotStrictlyPositiveException(Localizable specific, Number value)

Construct the exception with a specific context.

Parameters
specific:Localizable

Specific context where the error occurred.

value:Number

Argument.