Initializes a new instance of the PropertyValueException class.

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	message As String, _
	persistentClass As Type, _
	propertyName As String _
)
C#
public PropertyValueException(
	string message,
	Type persistentClass,
	string propertyName
)
Visual C++
public:
PropertyValueException(
	String^ message, 
	Type^ persistentClass, 
	String^ propertyName
)
JavaScript
NHibernate.PropertyValueException = function(message, persistentClass, propertyName);

Parameters

message
Type: System..::.String
The message that describes the error.
persistentClass
Type: System..::.Type
The Type that NHibernate was trying to access.
propertyName
Type: System..::.String
The name of the Property that was being get/set.

See Also