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
stringThe 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
stringThe error message that explains the reason for the exception.
inner
ExceptionThe 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
ResultTypesThe expected parameter type.
actual
ResultTypesThe actual parameter type.
message
stringThe error message.
BinaryParameterTypeMismatchException(ResultTypes, ResultTypes, BinaryParameterType)
Initializes a new instance of the BinaryParameterTypeMismatchException class.
public BinaryParameterTypeMismatchException(ResultTypes expected, ResultTypes actual, BinaryParameterType parameterType)
Parameters
expected
ResultTypesThe expected.
actual
ResultTypesThe actual.
parameterType
BinaryParameterTypeType of the parameter.