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