NotFiniteNumberException Class

The exception that is thrown when a floating-point value is positive infinity, negative infinity, or Not-a-Number (NaN).