Search for onException
- Search 7.x for onException
- Search 9.5.x for onException
- Search 8.9.x for onException
- Search 11.x for onException
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
AccessDeniedSubscriber::onException | function | core/ |
Redirects users when access is denied. |
AuthenticationSubscriber::onExceptionAccessDenied | function | core/ |
Detect disallowed authentication methods on access denied exceptions. |
AuthenticationSubscriber::onExceptionSendChallenge | function | core/ |
Respond with a challenge on access denied exceptions if appropriate. |
BadPluginDefinitionException | class | core/ |
Defines a class for bad plugin definition exceptions. |
BadPluginDefinitionException.php | file | core/ |
|
BadPluginDefinitionException::__construct | function | core/ |
Constructs a BadPluginDefinitionException. |
ConfigActionException | class | core/ |
@internal This API is experimental. |
ConfigActionException.php | file | core/ |
|
ContentEntityBaseUnitTest::testSetNewRevisionException | function | core/ |
@covers ::setNewRevision |
CronRunTest::testCronExceptions | function | core/ |
Make sure exceptions thrown on hook_cron() don't affect other modules. |
DateTimeIso8601NormalizerTest::testDenormalizeNoTargetInstanceOrFieldDefinitionException | function | core/ |
Tests the denormalize function with incomplete serialization context. |
DefaultExceptionSubscriber::onException | function | core/ |
Handles errors for this subscriber. |
DiscoveryTraitTest::providerDoGetDefinitionException | function | core/ |
Data provider for testDoGetDefinitionException() |
DiscoveryTraitTest::testDoGetDefinitionException | function | core/ |
@covers ::doGetDefinition @dataProvider providerDoGetDefinitionException @uses \Drupal\Component\Plugin\Exception\PluginNotFoundException |
DiscoveryTraitTest::testGetDefinitionException | function | core/ |
@covers ::getDefinition @dataProvider providerDoGetDefinitionException @uses \Drupal\Component\Plugin\Exception\PluginNotFoundException |
DocParserTest::testAnnotationEnumInvalidLiteralDeclarationException | function | core/ |
|
DocParserTest::testAnnotationEnumInvalidTypeDeclarationException | function | core/ |
|
DriverSpecificSchemaTestBase::tryInsertExpectsIntegrityConstraintViolationException | function | core/ |
Tries to insert a value that throws an IntegrityConstraintViolationException. |
EntityValidationException | class | core/ |
To throw when an entity generated during the import is not valid. |
EntityValidationException.php | file | core/ |
|
EntityValidationException::$violations | property | core/ |
The list of violations generated during the entity validation. |
EntityValidationException::getViolationMessages | function | core/ |
Returns the list of violation messages. |
EntityValidationException::getViolations | function | core/ |
Returns the list of violations generated during the entity validation. |
EntityValidationException::MESSAGES_SEPARATOR | constant | core/ |
The separator for combining multiple messages into a single string. |
EntityValidationException::__construct | function | core/ |
EntityValidationException constructor. |
ExceptionDetectNeedsInstallSubscriber::onException | function | core/ |
Handles errors for this subscriber. |
ExceptionHandler::handleExecutionException | function | core/ |
Handles exceptions thrown during execution of statement objects. |
ExceptionHandler::handleExecutionException | function | core/ |
Handles exceptions thrown during execution of statement objects. |
ExceptionLoggingSubscriber::onException | function | core/ |
Log all exceptions. |
FileValidationException | class | core/ |
Provides an exception for upload validation errors. |
FileValidationException.php | file | core/ |
|
FileValidationException::$errors | property | core/ |
The validation errors. |
FileValidationException::$fileName | property | core/ |
The file name. |
FileValidationException::getErrors | function | core/ |
Gets the errors. |
FileValidationException::getFilename | function | core/ |
Gets the file name. |
FileValidationException::__construct | function | core/ |
Constructs a new FileValidationException. |
FinalExceptionSubscriber::onException | function | core/ |
Handles exceptions for this subscriber. |
FinalExceptionSubscriberTest::testOnExceptionWithUnknownFormat | function | core/ |
@covers ::onException |
FormAjaxSubscriber::onException | function | core/ |
Catches a form AJAX exception and build a response from it. |
FormAjaxSubscriberTest::testOnException | function | core/ |
@covers ::onException |
FormAjaxSubscriberTest::testOnExceptionBrokenPostRequest | function | core/ |
@covers ::onException |
FormAjaxSubscriberTest::testOnExceptionNestedException | function | core/ |
@covers ::onException @covers ::getFormAjaxException |
FormAjaxSubscriberTest::testOnExceptionNestedWrongException | function | core/ |
@covers ::getFormAjaxException |
FormAjaxSubscriberTest::testOnExceptionNewBuildId | function | core/ |
@covers ::onException |
FormAjaxSubscriberTest::testOnExceptionOtherClass | function | core/ |
@covers ::onException |
FormAjaxSubscriberTest::testOnExceptionResponseBuilderException | function | core/ |
@covers ::onException |
HttpExceptionSubscriberBase::onException | function | core/ |
Handles errors for this subscriber. |
IncompleteLibraryDefinitionException | class | core/ |
Defines a custom exception if a library has no CSS/JS/JS setting specified. |
IncompleteLibraryDefinitionException.php | file | core/ |
|
IntegrityConstraintViolationException | class | core/ |
Exception thrown if a query would violate an integrity constraint. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.