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