Initializes a new NotFiniteNumberException with a message about the offending number.
[Visual Basic] Overloads Public Sub New( _ ByVal message As String, _ ByVal offendingNumber As Double _ ) [C#] public NotFiniteNumberException( string message, double offendingNumber ); [C++] public: NotFiniteNumberException( String* message, double offendingNumber ); [JScript] public function NotFiniteNumberException( message : String, offendingNumber : double );
The message parameter contains a message about the reason for the exception.
The offendingNumber parameter must be a Double and a finite number.
NotFiniteNumberException inherits from the Exception class. This constructor sets the properties of the Exception object as follows:
Property | Value |
---|---|
InnerException | null |
Message | The empty string. |
NotFiniteNumberException Class | NotFiniteNumberException Members | System Namespace | NotFiniteNumberException Constructor Overload List