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
messagestringThe message that describes the error.
DifferentParameterTypeMismatchException(string, Exception)
Initializes a new instance of the DifferentParameterTypeMismatchException class.
public DifferentParameterTypeMismatchException(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.
DifferentParameterTypeMismatchException(ResultTypes, ResultTypes, int)
Initializes a new instance of the DifferentParameterTypeMismatchException class.
public DifferentParameterTypeMismatchException(ResultTypes expected, ResultTypes actual, int index)
Parameters
expectedResultTypesThe expected parameter type.
actualResultTypesThe actual parameter type.
indexintThe index of parameter.