[Form] removed deprecated exceptions
[Form] Fixed failing test
merged branch bschussek/fix-tests (PR #7928)

This PR was merged into the master branch.

Discussion
----------

[Form] Fixed failing test

Commits
-------

a2df1cf [Form] Fixed failing test
merged branch Tobion/deprecated-form-exception (PR #7927)

This PR was merged into the master branch.

Discussion
----------

[Form] removed deprecated exceptions

Removed deprecated exceptions for 2.3.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

82ff360 [Form] removed deprecated exceptions