Initializes a new instance of the DataException class

Namespace: NHibernate.Exceptions
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public DataException(
	string message,
	Exception innerException
)
Visual Basic
Public Sub New ( _
	message As String, _
	innerException As Exception _
)
Visual C++
public:
DataException(
	String^ message, 
	Exception^ innerException
)

Parameters

message
Type: System..::..String

[Missing <param name="message"/> documentation for "M:NHibernate.Exceptions.DataException.#ctor(System.String,System.Exception)"]

innerException
Type: System..::..Exception

[Missing <param name="innerException"/> documentation for "M:NHibernate.Exceptions.DataException.#ctor(System.String,System.Exception)"]

See Also