$message=sprintf('No route found for "%s %s": Method Not Allowed (Allow: %s)',$this->request->getMethod(),$this->request->getPathInfo(),strtoupper(implode(', ',$e->getAllowedMethods())));
thrownewMethodNotAllowedHttpException($e->getAllowedMethods(),'Method Not Allowed',$message,0,$e);