Initializes a new instance of the ObjectNotFoundException class.

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	identifier As Object, _
	type As Type _
)
C#
public ObjectNotFoundException(
	Object identifier,
	Type type
)
Visual C++
public:
ObjectNotFoundException(
	Object^ identifier, 
	Type^ type
)
JavaScript
NHibernate.ObjectNotFoundException = function(identifier, 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