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

public Class NotPositiveException

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

Exception to be thrown when the argument is negative.
Since
2.2

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
NotPositiveException(Number
Argument.
value
)

Construct the exception.

public
NotPositiveException(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

NotPositiveExceptionback to summary
public NotPositiveException(Number value)

Construct the exception.

Parameters
value:Number

Argument.

NotPositiveExceptionback to summary
public NotPositiveException(Localizable specific, Number value)

Construct the exception with a specific context.

Parameters
specific:Localizable

Specific context where the error occurred.

value:Number

Argument.