// \Symfony\Component\Routing\Exception\ResourceNotFoundException here
// because we don't want to return a 404 status code, but rather a 406.
thrownewNotAcceptableHttpException(String::format('No route found for the specified formats @formats.',array('@formats'=>implode(' ',$acceptable_mime_types))));