Table of Contents

Class DifferentParameterTypeMismatchException

Namespace
xFunc.Maths.Analyzers.TypeAnalyzers
Assembly
xFunc.Maths.dll

Represents an exception when the type of the actual argument does not match the expected parameter type.

[Serializable]
public class DifferentParameterTypeMismatchException : ParameterTypeMismatchException, ISerializable
Inheritance
DifferentParameterTypeMismatchException
Implements
Inherited Members

Constructors

DifferentParameterTypeMismatchException()

Initializes a new instance of the DifferentParameterTypeMismatchException class.

public DifferentParameterTypeMismatchException()

DifferentParameterTypeMismatchException(string)

Initializes a new instance of the DifferentParameterTypeMismatchException class.

public DifferentParameterTypeMismatchException(string message)

Parameters

message string

The message that describes the error.

DifferentParameterTypeMismatchException(string, Exception)

Initializes a new instance of the DifferentParameterTypeMismatchException class.

public DifferentParameterTypeMismatchException(string message, Exception inner)

Parameters

message string

The error message that explains the reason for the exception.

inner Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

DifferentParameterTypeMismatchException(ResultTypes, ResultTypes, int)

Initializes a new instance of the DifferentParameterTypeMismatchException class.

public DifferentParameterTypeMismatchException(ResultTypes expected, ResultTypes actual, int index)

Parameters

expected ResultTypes

The expected parameter type.

actual ResultTypes

The actual parameter type.

index int

The index of parameter.