Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RouteNotFoundException.php

class RouteNotFoundException

Exception thrown when a route does not exist.

@author Alexandre Salomé <alexandre.salome@gmail.com>

Hierarchy

  • class \Symfony\Component\Routing\Exception\InvalidArgumentException extends \Symfony\Component\Routing\Exception\InvalidArgumentException implements \Symfony\Component\Routing\Exception\ExceptionInterface
    • class \Symfony\Component\Routing\Exception\InvalidArgumentException extends \Symfony\Component\Routing\Exception\InvalidArgumentException implements \Symfony\Component\Routing\Exception\ExceptionInterface
      • class \Symfony\Component\Routing\Exception\RouteNotFoundException extends \Symfony\Component\Routing\Exception\InvalidArgumentException implements \Symfony\Component\Routing\Exception\ExceptionInterface

Expanded class hierarchy of RouteNotFoundException

14 files declare their use of RouteNotFoundException
AccessManager.php in core/lib/Drupal/Core/Access/AccessManager.php
CompiledUrlGenerator.php in vendor/symfony/routing/Generator/CompiledUrlGenerator.php
CompiledUrlGeneratorDumper.php in vendor/symfony/routing/Generator/Dumper/CompiledUrlGeneratorDumper.php
EntityBase.php in core/lib/Drupal/Core/Entity/EntityBase.php
EntryPoint.php in core/modules/jsonapi/src/Controller/EntryPoint.php

... See full list

File

vendor/symfony/routing/Exception/RouteNotFoundException.php, line 19

Namespace

Symfony\Component\Routing\Exception
View source
class RouteNotFoundException extends \InvalidArgumentException implements ExceptionInterface {

}
RSS feed
Powered by Drupal