Initializes a new HLException object with an error code and a message.

Namespace:  Mergecom.HL7
Assembly:  Mergecom.HL7 (in Mergecom.HL7.dll) Version: 4.2.0.0

Syntax

C#
public HL7Exception(
	int errorCode,
	string description
)
Visual Basic (Declaration)
Public Sub New ( _
	errorCode As Integer, _
	description As String _
)
Visual C++
public:
HL7Exception(
	int errorCode, 
	String^ description
)

Parameters

errorCode
Type: System..::.Int32
One of the error code defined by static fields in this class.
description
Type: System..::.String
The description of the problem that generated this exception.

See Also