[FrameworkBundle] Thrown an HttpException instead returning a Response in order to show an error page when path is not defined.
bug #10023 [FrameworkBundle] Thrown an HttpException instead returning a Response in RedirectController::redirectAction() (jakzal)

This PR was merged into the 2.3 branch.

Discussion
----------

[FrameworkBundle] Thrown an HttpException instead returning a Response in RedirectController::redirectAction()

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

I'm considering this to be a bug fix, since before, a missing path or route name would result in rendering a blank page.

Commits
-------

3097ec6 [FrameworkBundle] Thrown an HttpException instead returning a Response in order to show an error page when path is not defined.