aspxtreme

NotFiniteNumberException Class

System Namespace


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

NotFiniteNumberException Class Members

Collapse   Constructors

Visibility Constructor Parameters
public NotFiniteNumberException ( )
public NotFiniteNumberException ( Double offendingNumber )
public NotFiniteNumberException ( String message )
public NotFiniteNumberException ( String message , Double offendingNumber )
public NotFiniteNumberException ( String message , Exception innerException )
public NotFiniteNumberException ( String message , Double offendingNumber , Exception innerException )

Collapse   Properties

Visibility Name Value Type Accessibility
public OffendingNumber Double [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public GetObjectData ( SerializationInfo info , StreamingContext context ) Void

Remarks

Operations involving Double or Single operations throw this exception.

Applications written in C# will not throw this exception. NotFiniteNumberException is available for languages that do not support infinity and Not-a-Number constants.

NotFiniteNumberException uses the HRESULT COR_E_NOTFINITENUMBER, which has the value 0x80131528.

For a list of initial property values for an instance of NotFiniteNumberException, see the NotFiniteNumberException constructors.

See Also

Exception   Double



Books and more ...


Suggested Reading

Need a break ?



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support aspxtreme