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