GenericArithmeticException Constructor

Definition

Namespace: Numerics.NET.Generic
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

GenericArithmeticException

Constructs a new GenericArithmeticException.
C#
public GenericArithmeticException()

GenericArithmeticException(String)

Constructs a new GenericArithmeticException.
C#
public GenericArithmeticException(
	string message
)

Parameters

message  String
The error message that explains the reason for the exception.

GenericArithmeticException(SerializationInfo, StreamingContext)

Note: This API is now obsolete.
Initializes a new instance of the GenericArithmeticException class with serialized data.
C#
[ObsoleteAttribute(DiagnosticId = "SYSLIB0051")]
protected GenericArithmeticException(
	SerializationInfo serializationInfo,
	StreamingContext streamingContext
)

Parameters

serializationInfo  SerializationInfo
The object that holds the serialized object data.
streamingContext  StreamingContext
The contextual information about the source or destination.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.

GenericArithmeticException(String, Exception)

Constructs a new GenericArithmeticException.
C#
public GenericArithmeticException(
	string message,
	Exception innerException
)

Parameters

message  String
The error message that explains the reason for the exception.
innerException  Exception
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

See Also