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

Namespace:  Quanser.Communications
Assembly:  Quanser.Communications (in Quanser.Communications.dll)

Syntax

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

Type.createClass(
	'Quanser.Communications.StreamException',
	Quanser.Common.GenericException);

Remarks

The StreamException class is defined so that stream 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.Communications..::.StreamException

See Also