Initializes a new instance of the ObjectNotFoundException class.

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

Syntax

C#
public ObjectNotFoundException(
	Object identifier,
	Type type
)
Visual Basic
Public Sub New ( _
	identifier As Object, _
	type As Type _
)
Visual C++
public:
ObjectNotFoundException(
	Object^ identifier, 
	Type^ type
)

Parameters

identifier
Type: System..::..Object
The identifier of the object that was attempting to be loaded.
type
Type: System..::..Type
The Type that NHibernate was trying to find a row for in the database.

See Also