* @package Combodo\iTop\Service\Router\Exception * @since 3.1.0 */ class RouteNotFoundException extends RouterException { public function __construct(string $message = "", int $code = 0, ?Throwable $previous = null) { /** * @deprecated 3.2.0 N°6935 * * Note that we can't call \DeprecatedCallsLog::NotifyDeprecatedFile() at the beginning at the file instead. * Because * - As the class is part of the autoloader it will be read when something calls \utils::GetClassesForInterface() which will pop the deprecation message (and break redirection) * - Not all controllers using Combodo\iTop\Service\Router\Router service can be migrated yet for backward compatibility with extensions reasons */ DeprecatedCallsLog::NotifyDeprecatedFile("As we now use Symfony routing component, use the corresponding exceptions instead"); parent::__construct($message, $code, $previous); } }