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

public Class NotFiniteNumberException

extends MathIllegalNumberException
Class Inheritance
Imports
org.apache.commons.math3.exception.util.Localizable, .LocalizedFormats

Exception to be thrown when a number is not finite.
Since
3.0

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from org.apache.commons.math3.exception.MathIllegalNumberException:
INTEGER_ZERO

Constructor Summary

AccessConstructor and Description
public
NotFiniteNumberException(Number
Value that is infinite or NaN.
wrong
,
Object...
Optional arguments.
args
)

Construct the exception.

public
NotFiniteNumberException(Localizable
Specific context pattern.
specific
,
Number
Value that is infinite or NaN.
wrong
,
Object...
Optional arguments.
args
)

Construct the exception with a specific context.

Method Summary

Inherited from org.apache.commons.math3.exception.MathIllegalNumberException:
getArgument

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

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

Serializable version Id.

Constructor Detail

NotFiniteNumberExceptionback to summary
public NotFiniteNumberException(Number wrong, Object... args)

Construct the exception.

Parameters
wrong:Number

Value that is infinite or NaN.

args:Object[]

Optional arguments.

NotFiniteNumberExceptionback to summary
public NotFiniteNumberException(Localizable specific, Number wrong, Object... args)

Construct the exception with a specific context.

Parameters
specific:Localizable

Specific context pattern.

wrong:Number

Value that is infinite or NaN.

args:Object[]

Optional arguments.