InsufficientDataException Constructor

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

InsufficientDataException

Constructs a new InsufficientDataException object.
C#
public InsufficientDataException()

InsufficientDataException(String)

Constructs a new InsufficientDataException object.
C#
public InsufficientDataException(
	string message
)

Parameters

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

InsufficientDataException(Int32, Int32)

Constructs a new InsufficientDataException object.
C#
public InsufficientDataException(
	int minimumDataLength,
	int actualDataLength
)

Parameters

minimumDataLength  Int32
The minimum number of data points required to perform the requested calculation.
actualDataLength  Int32
The actual number of data points that was supplied.

InsufficientDataException(SerializationInfo, StreamingContext)

Constructs a new InsufficientDataException object.
C#
protected InsufficientDataException(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info  SerializationInfo
The object that holds the serialized object data.
context  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.

InsufficientDataException(String, Exception)

Constructs a new InsufficientDataException object.
C#
public InsufficientDataException(
	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 null, the current exception is raised in a catch block that handles the inner exception.

InsufficientDataException(String, Int32, Int32)

Constructs a new InsufficientDataException object.
C#
public InsufficientDataException(
	string message,
	int minimumDataLength,
	int actualDataLength
)

Parameters

message  String
The error message that explains the reason for the exception.
minimumDataLength  Int32
The minimum number of data points required to perform the requested calculation.
actualDataLength  Int32
The actual number of data points that was supplied.

InsufficientDataException(String, Exception, Int32, Int32)

Constructs a new InsufficientDataException object.
C#
public InsufficientDataException(
	string message,
	Exception innerException,
	int minimumDataLength,
	int actualDataLength
)

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 null, the current exception is raised in a catch block that handles the inner exception.
minimumDataLength  Int32
The minimum number of data points required to perform the requested calculation.
actualDataLength  Int32
The actual number of data points that was supplied.

See Also