Search for onException

  1. Search 7.x for onException
  2. Search 9.5.x for onException
  3. Search 8.9.x for onException
  4. Search 10.3.x for onException
  5. Other projects
Title Object type File name Summary
FinalExceptionSubscriberTest::testOnExceptionWithUnknownFormat function core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php Tests on exception with unknown format.
FormAjaxSubscriber::onException function core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php Catches a form AJAX exception and build a response from it.
FormAjaxSubscriberTest::testOnException function core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php Tests on exception.
FormAjaxSubscriberTest::testOnExceptionBrokenPostRequest function core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php Tests on exception broken post request.
FormAjaxSubscriberTest::testOnExceptionNestedException function core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php Tests on exception nested exception.
FormAjaxSubscriberTest::testOnExceptionNestedWrongException function core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php Tests on exception nested wrong exception.
FormAjaxSubscriberTest::testOnExceptionNewBuildId function core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php Tests on exception new build id.
FormAjaxSubscriberTest::testOnExceptionOtherClass function core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php Tests on exception other class.
FormAjaxSubscriberTest::testOnExceptionResponseBuilderException function core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php Tests on exception response builder exception.
HttpExceptionSubscriberBase::onException function core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php Handles errors for this subscriber.
IconPackManagerKernelTest::testProcessDefinitionExceptionName function core/tests/Drupal/KernelTests/Core/Theme/Icon/IconPackManagerKernelTest.php Test the IconPackManager::processDefinition method with exception.
IconPackManagerKernelTest::testProcessDefinitionExceptionRequired function core/tests/Drupal/KernelTests/Core/Theme/Icon/IconPackManagerKernelTest.php Test the IconPackManager::processDefinition method with exception.
IncompleteLibraryDefinitionException class core/lib/Drupal/Core/Asset/Exception/IncompleteLibraryDefinitionException.php Defines a custom exception if a library has no CSS/JS/JS setting specified.
IncompleteLibraryDefinitionException.php file core/lib/Drupal/Core/Asset/Exception/IncompleteLibraryDefinitionException.php
IntegrityConstraintViolationException class core/lib/Drupal/Core/Database/IntegrityConstraintViolationException.php Exception thrown if a query would violate an integrity constraint.
IntegrityConstraintViolationException.php file core/lib/Drupal/Core/Database/IntegrityConstraintViolationException.php
InvalidLibrariesExtendSpecificationException class core/lib/Drupal/Core/Asset/Exception/InvalidLibrariesExtendSpecificationException.php Defines a custom exception for an invalid libraries-extend specification.
InvalidLibrariesExtendSpecificationException.php file core/lib/Drupal/Core/Asset/Exception/InvalidLibrariesExtendSpecificationException.php
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.
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 Tests create instance definition exception.
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 install.
RedirectOnExceptionTest::testRedirectOn404 function core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php Tests redirects with a 404.
SchemaTest::tryInsertExpectsIntegrityConstraintViolationException function core/modules/sqlite/tests/src/Kernel/sqlite/SchemaTest.php Tries to insert a value that throws an IntegrityConstraintViolationException.
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.

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