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
messagestringThe 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
messagestringThe error message that explains the reason for the exception.
innerExceptionThe 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
expectedResultTypesThe expected parameter type.
actualResultTypesThe actual parameter type.
messagestringThe error message.
BinaryParameterTypeMismatchException(ResultTypes, ResultTypes, BinaryParameterType)
Initializes a new instance of the BinaryParameterTypeMismatchException class.
public BinaryParameterTypeMismatchException(ResultTypes expected, ResultTypes actual, BinaryParameterType parameterType)
Parameters
expectedResultTypesThe expected.
actualResultTypesThe actual.
parameterTypeBinaryParameterTypeType of the parameter.