The base class for all exceptions thrown by the Quanser.Hardware classes.

Namespace:  Quanser.Hardware
Assembly:  Quanser.Hardware.Hil (in Quanser.Hardware.Hil.dll)

Syntax

Visual Basic (Declaration)
Public Class HilException _
	Inherits GenericException
C#
public class HilException : GenericException
Visual C++
public ref class HilException : public GenericException
JavaScript
Quanser.Hardware.HilException = function();

Type.createClass(
	'Quanser.Hardware.HilException',
	Quanser.Common.GenericException);

Remarks

The HilException class is defined so that hardware exceptions may easily be identified in try...catch statements. The Quanser error code associated with the exception may be retrieved using the Code property. The ToString()()() method may be used to get an error message corresponding to the exception.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    Quanser.Common..::.GenericException
      Quanser.Hardware..::.HilException

See Also