Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectNotOfRequiredTypeException Constructor

Creates a new instance of the ObjectNotOfRequiredTypeException class.

[Visual Basic]
Public Overloads Sub New( _
   ByVal message As String, _
   ByVal rootCause As Exception _
)
[C#]
ObjectNotOfRequiredTypeException(
   string message,
   Exception rootCause
);

Parameters

message
A message about the exception.
rootCause
The root exception that is being wrapped.

See Also

ObjectNotOfRequiredTypeException Class | Spring.Objects.Factory Namespace | ObjectNotOfRequiredTypeException Constructor Overload List