DimensionMismatchException Constructor

Definition

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

Overload List

DimensionMismatchException

Constructs a new DimensionMismatchException.
C#
public DimensionMismatchException()

DimensionMismatchException(String)

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

Parameters

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

DimensionMismatchException(SerializationInfo, StreamingContext)

Initializes a new instance of the MatrixNotPositiveDefiniteException class with serialized data.
C#
protected DimensionMismatchException(
	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.

DimensionMismatchException(String, Exception)

Constructs a new DimensionMismatchException.
C#
public DimensionMismatchException(
	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.

DimensionMismatchException(DimensionType, String, DimensionType)

Constructs a new DimensionMismatchException.
C#
public DimensionMismatchException(
	DimensionType firstDimensionType,
	string firstParameterName,
	DimensionType secondDimensionType
)

Parameters

firstDimensionType  DimensionType
The DimensionType of the first parameter.
firstParameterName  String
The name of the first parameter.
secondDimensionType  DimensionType
The DimensionType of the second parameter.

Remarks

Use this constructor to specify that the second parameter was the instance in whose method the exception occurred.

DimensionMismatchException(DimensionType, String, String)

Constructs a new DimensionMismatchException.
C#
public DimensionMismatchException(
	DimensionType firstDimensionType,
	string firstParameterName,
	string message
)

Parameters

firstDimensionType  DimensionType
The DimensionType of the first parameter.
firstParameterName  String
The name of the first parameter.
message  String
The error message that explains the reason for the exception.

DimensionMismatchException(DimensionType, String, DimensionType, String)

Constructs a new DimensionMismatchException.
C#
public DimensionMismatchException(
	DimensionType firstDimensionType,
	string firstParameterName,
	DimensionType secondDimensionType,
	string secondParameterName
)

Parameters

firstDimensionType  DimensionType
The DimensionType of the first parameter.
firstParameterName  String
The name of the first parameter.
secondDimensionType  DimensionType
The DimensionType of the second parameter.
secondParameterName  String
The name of the second parameter.

DimensionMismatchException(String, Exception, DimensionType, String, DimensionType, String)

Constructs a new DimensionMismatchException.
C#
public DimensionMismatchException(
	string message,
	Exception innerException,
	DimensionType firstDimensionType,
	string firstParameterName,
	DimensionType secondDimensionType,
	string secondParameterName
)

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.
firstDimensionType  DimensionType
The DimensionType of the first parameter.
firstParameterName  String
The name of the first parameter.
secondDimensionType  DimensionType
The DimensionType of the second parameter.
secondParameterName  String
The name of the second parameter.

See Also