In This Article

NonNumericValueException Class

An exception for when a non-numeric value is provided.

public class NonNumericValueException : Exception
Inheritance:
object Exception object

Constructors

NonNumericValueException()

Initializes an instance of the class.

public NonNumericValueException()

NonNumericValueException(string)

Initializes an instance of the class with a specified error message.

public NonNumericValueException(string message)
Parameter Type Description
message string

The message that describes the error.

NonNumericValueException(string, Exception)

Initializes an instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.

public NonNumericValueException(string message, Exception innerException)
Parameter Type Description
message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Inherited Members

Extension Methods