Table of Contents

Class HarpException

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

Represents errors that are reported by Harp devices at runtime.

[Serializable]
public sealed class HarpException : Exception, ISerializable, _Exception
Inheritance
HarpException
Implements
Inherited Members

Constructors

HarpException()

Initializes a new instance of the HarpException class.

public HarpException()

HarpException(HarpMessage)

Initializes a new instance of the HarpException with the specified Harp error message contents.

public HarpException(HarpMessage message)

Parameters

message HarpMessage

The Harp message which reported the error.

HarpException(string)

Initializes a new instance of the HarpException class with a specified error message.

public HarpException(string message)

Parameters

message string

The message that describes the error.

HarpException(string, Exception)

Initializes a new instance of the HarpException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public HarpException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.