Class ArgumentMismatchException
An exception thrown when the arguments don't match what is expected.
Inheritance
System.Object
ArgumentMismatchException
Namespace: SpiceSharpBehavioral.Diagnostics
Assembly: SpiceSharpBehavioral.dll
Syntax
public class ArgumentMismatchException : SpiceSharpException
Constructors
ArgumentMismatchException(Int32, Int32)
Initializes a new instance of the ArgumentMismatchException class.
Declaration
public ArgumentMismatchException(int expected, int actual)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | expected | The expected number of arguments. |
System.Int32 | actual | The actual number of arguments. |
See Also
SpiceSharp.SpiceSharpException