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

Breadcrumb

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

class ResourceNotFoundException

Same name in this branch
  1. 11.1.x vendor/justinrainbow/json-schema/src/JsonSchema/Exception/ResourceNotFoundException.php \JsonSchema\Exception\ResourceNotFoundException

The resource was not found.

This exception should trigger an HTTP 404 response in your application code.

@author Kris Wallsmith <kris@symfony.com>

Hierarchy

  • class \Symfony\Component\Routing\Exception\RuntimeException extends \Symfony\Component\Routing\Exception\RuntimeException implements \Symfony\Component\Routing\Exception\ExceptionInterface
    • class \Symfony\Component\Routing\Exception\RuntimeException extends \Symfony\Component\Routing\Exception\RuntimeException implements \Symfony\Component\Routing\Exception\ExceptionInterface
      • class \Symfony\Component\Routing\Exception\ResourceNotFoundException extends \Symfony\Component\Routing\Exception\RuntimeException implements \Symfony\Component\Routing\Exception\ExceptionInterface

Expanded class hierarchy of ResourceNotFoundException

11 files declare their use of ResourceNotFoundException
AccessAwareRouter.php in core/lib/Drupal/Core/Routing/AccessAwareRouter.php
CompiledUrlMatcherTrait.php in vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php
MatchingRouteNotFoundException.php in core/lib/Drupal/Core/Routing/MatchingRouteNotFoundException.php
PathBasedBreadcrumbBuilder.php in core/modules/system/src/PathBasedBreadcrumbBuilder.php
PathValidator.php in core/lib/Drupal/Core/Path/PathValidator.php

... See full list

File

vendor/symfony/routing/Exception/ResourceNotFoundException.php, line 21

Namespace

Symfony\Component\Routing\Exception
View source
class ResourceNotFoundException extends \RuntimeException implements ExceptionInterface {

}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal