Search for onException

  1. Search 7.x for onException
  2. Search 8.9.x for onException
  3. Search 10.3.x for onException
  4. Search 11.x for onException
  5. Other projects
Title Object type File name Summary
InvalidLibrariesOverrideSpecificationException class core/lib/Drupal/Core/Asset/Exception/InvalidLibrariesOverrideSpecificationException.php Defines a custom exception if a definition refers to a non-existent library.
InvalidLibrariesOverrideSpecificationException.php file core/lib/Drupal/Core/Asset/Exception/InvalidLibrariesOverrideSpecificationException.php
InvalidPluginDefinitionException class core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php Defines a class for invalid plugin definition exceptions.
InvalidPluginDefinitionException.php file core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php
InvalidPluginDefinitionException::$pluginId property core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php The plugin ID of the mapper.
InvalidPluginDefinitionException::getPluginId function core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php Gets the plugin ID of the mapper that raised the exception.
InvalidPluginDefinitionException::__construct function core/lib/Drupal/Component/Plugin/Exception/InvalidPluginDefinitionException.php Constructs an InvalidPluginDefinitionException.
MysqlDriverLegacyTest::testDeprecationExceptionHandler function core/modules/mysql/tests/src/Kernel/mysql/MysqlDriverLegacyTest.php @covers Drupal\Core\Database\Driver\mysql\ExceptionHandler
NodeTranslationExceptionSubscriber class core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php Redirect node translations that have been consolidated by migration.
NodeTranslationExceptionSubscriber.php file core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php
NodeTranslationExceptionSubscriber::$keyValue property core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php The key value factory.
NodeTranslationExceptionSubscriber::$languageManager property core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php The language manager.
NodeTranslationExceptionSubscriber::$state property core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php The state service.
NodeTranslationExceptionSubscriber::$urlGenerator property core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php The URL generator.
NodeTranslationExceptionSubscriber::getSubscribedEvents function core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php
NodeTranslationExceptionSubscriber::onException function core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php Redirects not found node translations using the key value collection.
NodeTranslationExceptionSubscriber::__construct function core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php Constructs the NodeTranslationExceptionSubscriber.
ObsoleteExtensionException class core/lib/Drupal/Core/Extension/Exception/ObsoleteExtensionException.php Exception thrown when the extension is obsolete on install.
ObsoleteExtensionException.php file core/lib/Drupal/Core/Extension/Exception/ObsoleteExtensionException.php
ParamConversionEnhancer::onException function core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php Catches failed parameter conversions and throw a 404 instead.
PluginFormFactoryTest::testCreateInstanceDefinitionException function core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php @covers ::createInstance
RedirectOnExceptionTest class core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php Tests redirects on exception pages.
RedirectOnExceptionTest.php file core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php
RedirectOnExceptionTest::$modules property core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php Modules to enable.
RedirectOnExceptionTest::testRedirectOn404 function core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php
TransactionException class core/lib/Drupal/Core/Database/TransactionException.php Exception thrown by an error in a database transaction.
TransactionException.php file core/lib/Drupal/Core/Database/TransactionException.php
UninstalledExtensionException class core/lib/Drupal/Core/Extension/Exception/UninstalledExtensionException.php Exception class thrown when a specified extension has not been installed.
UninstalledExtensionException.php file core/lib/Drupal/Core/Extension/Exception/UninstalledExtensionException.php
UnknownExtensionException class core/lib/Drupal/Core/Extension/Exception/UnknownExtensionException.php Exception class thrown when a specified extension is not on the filesystem.
UnknownExtensionException.php file core/lib/Drupal/Core/Extension/Exception/UnknownExtensionException.php
UnsupportedEntityTypeDefinitionException class core/lib/Drupal/Core/Entity/Exception/UnsupportedEntityTypeDefinitionException.php Defines an exception thrown when an entity type definition is invalid.
UnsupportedEntityTypeDefinitionException.php file core/lib/Drupal/Core/Entity/Exception/UnsupportedEntityTypeDefinitionException.php
WorkflowTest::testDeleteTransitionException function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::deleteTransition
WorkflowTest::testGetTransitionException function core/modules/workflows/tests/src/Unit/WorkflowTest.php @covers ::getTransition

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.