Caplin Trader 5.1.0

Class: module:br-presenter/control/InvalidControlModelError

module:br-presenter/control/InvalidControlModelError(sControlAdaptor, sAcceptedControlModel)

The exception thrown when module:br-presenter/control/ControlAdaptor#setPresentationNode is invoked with an incompatible presentation node for the control being used.

Constructor

new module:br-presenter/control/InvalidControlModelError(sControlAdaptor, sAcceptedControlModel)

Extends:
  • module:br/Errors/CustomError
Parameters:
Name Type Description
sControlAdaptor String

The class name of the control adaptor that's been invoked.

sAcceptedControlModel String

The particular class of the presentation node this control adaptor accepts.

Extends

  • module:br/Errors/CustomError