Constructs a GenericException with the specified reason and error code.

Namespace:  Kaazing.JMS.Stomp
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Public Sub New ( _
	reason As String, _
	errorCode As String _
)
C#
public GenericException(
	string reason,
	string errorCode
)
Visual C++
public:
GenericException(
	String^ reason, 
	String^ errorCode
)

Parameters

reason
Type: System..::..String
a description of the exception
errorCode
Type: System..::..String
a string specifying the vendor-specific error code

See Also