Table of Contents

Class BinaryParameterTypeMismatchException

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 BinaryParameterTypeMismatchException : ParameterTypeMismatchException, ISerializable
Inheritance
BinaryParameterTypeMismatchException
Implements
Inherited Members

Constructors

BinaryParameterTypeMismatchException()

Initializes a new instance of the BinaryParameterTypeMismatchException class.

public BinaryParameterTypeMismatchException()

BinaryParameterTypeMismatchException(string)

Initializes a new instance of the BinaryParameterTypeMismatchException class.

public BinaryParameterTypeMismatchException(string message)

Parameters

message string

The error message that explains the reason for the exception.

BinaryParameterTypeMismatchException(string, Exception)

Initializes a new instance of the BinaryParameterTypeMismatchException class.

public BinaryParameterTypeMismatchException(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.

BinaryParameterTypeMismatchException(ResultTypes, ResultTypes, string)

Initializes a new instance of the BinaryParameterTypeMismatchException class.

public BinaryParameterTypeMismatchException(ResultTypes expected, ResultTypes actual, string message)

Parameters

expected ResultTypes

The expected parameter type.

actual ResultTypes

The actual parameter type.

message string

The error message.

BinaryParameterTypeMismatchException(ResultTypes, ResultTypes, BinaryParameterType)

Initializes a new instance of the BinaryParameterTypeMismatchException class.

public BinaryParameterTypeMismatchException(ResultTypes expected, ResultTypes actual, BinaryParameterType parameterType)

Parameters

expected ResultTypes

The expected.

actual ResultTypes

The actual.

parameterType BinaryParameterType

Type of the parameter.

See Also