ReferenceError

Error created when a required component dependency cannot be found.

Description

The ReferenceException class provides a Reference error type, which can be used to create an error instance when a required component dependency cannot be found.

Constructors

Creates an error instance and assigns its values.

public ReferenceException(IContext context, Object locator)

  • context: IContext - (optional) execution context to trace execution through call chain.
  • locator: Object - locator to find reference to dependent component.