Thrown when an object required is not of the type required.
Initializes a new instance of ObjectNotOfRequiredTypeException.
public Void ObjectNotOfRequiredTypeException(name, required, actual)
Name | Type | Summary |
---|---|---|
name | String | Name of the application context object. |
required | Type | Type required to the application context. |
actual | Type | Actual type of the object specified by name. |
In this document