Trigger error for the deprecated methods in LegacyExecutionContext.

 Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #12688
| License       | MIT
| Doc PR        | none
The first sentence doesn't seem to be complete.