Initializes a new instance of the NonUniqueObjectException class.

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	message As String, _
	id As Object, _
	clazz As Type _
)
C#
public NonUniqueObjectException(
	string message,
	Object id,
	Type clazz
)
Visual C++
public:
NonUniqueObjectException(
	String^ message, 
	Object^ id, 
	Type^ clazz
)
JavaScript
NHibernate.NonUniqueObjectException = function(message, id, clazz);

Parameters

message
Type: System..::.String
The message that describes the error.
id
Type: System..::.Object
The identifier of the object that caused the exception.
clazz
Type: System..::.Type
The Type of the object attempted to be loaded.

See Also