You are here

class PluginException in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/Exception/PluginException.php \Drupal\Component\Plugin\Exception\PluginException
  2. 10 core/lib/Drupal/Component/Plugin/Exception/PluginException.php \Drupal\Component\Plugin\Exception\PluginException

Generic Plugin exception class to be thrown when no more specific class is applicable.

Hierarchy

Expanded class hierarchy of PluginException

22 files declare their use of PluginException
BlockPluginCollection.php in core/modules/block/src/BlockPluginCollection.php
BlockStorageUnitTest.php in core/modules/block/tests/src/Kernel/BlockStorageUnitTest.php
ContextualLinkManager.php in core/lib/Drupal/Core/Menu/ContextualLinkManager.php
DefaultFactory.php in core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php
DefaultFactoryTest.php in core/tests/Drupal/Tests/Component/Plugin/DefaultFactoryTest.php

... See full list

File

core/lib/Drupal/Component/Plugin/Exception/PluginException.php, line 9

Namespace

Drupal\Component\Plugin\Exception
View source
class PluginException extends \Exception implements ExceptionInterface {

}

Members