Initializes a new instance of the HilException class.
Namespace:
Quanser.HardwareAssembly: Quanser.Hardware.Hil (in Quanser.Hardware.Hil.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ cause As ErrorCode _ ) |
| C# |
|---|
public HilException( ErrorCode cause ) |
| Visual C++ |
|---|
public: HilException( ErrorCode cause ) |
| JavaScript |
|---|
Quanser.Hardware.HilException = function(cause); |
Parameters
- cause
- Type: Quanser.Common..::.ErrorCode
The Quanser error code indicating the cause of the hardware exception
Remarks
This constructor is called to initialize a hardware exception. The Quanser error
code for the exception must be passed as an argument.