Initializes a new instance of the InstantiationException class.

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	message As String, _
	innerException As Exception, _
	type As Type _
)
C#
public InstantiationException(
	string message,
	Exception innerException,
	Type type
)
Visual C++
public:
InstantiationException(
	String^ message, 
	Exception^ innerException, 
	Type^ type
)
JavaScript
NHibernate.InstantiationException = function(message, innerException, type);

Parameters

message
Type: System..::.String
The message that describes the error.
innerException
Type: System..::.Exception
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
type
Type: System..::.Type
The Type that NHibernate was trying to instantiate.

See Also