Joomla\CMS\Router\Exception\RouteNotFoundException [404]

Page not found
148         $this->processParseRules($uri, self::PROCESS_AFTER);
149 
150         // Check if all parts of the URL have been parsed.
151         // Otherwise we have an invalid URL
152         if (\strlen($uri->getPath()) > 0) {
153             throw new RouteNotFoundException(Text::_('JERROR_PAGE_NOT_FOUND'));
154         }
155 
156         if ($setVars) {
157             $this->setVars($uri->getQuery(true));
158