Error raised when a factory is not able to create a requested component.
Inherits: InternalException
Description
The CreateException class defines the error raised when a factory is not able to create a requested component.
Constructors
Creates an error instance and assigns its values.
public
CreateException(IContext context, string message)
- context: IContext - (optional) a context to trace execution through a call chain.
- message: string - human-readable error
Creates an error instance and assigns its values.
public
CreateException(string correlationId, object locator)
- correlationId: string - (optional) unique transaction id to trace execution through a call chain.
- message: object - locator of the component that cannot be created.
Creates an error instance.
public
CreateException()