tweaked error handling for the forward compatibility
tweaked error handling for the forward compatibility


nichdu/HttpFoundation,oswaldderiemaecker/HttpFoundation,ygerasimov/HttpFoundation,mneuhaus/HttpFoundation,symfony/http-foundation,symfony/HttpFoundation