class RequeueException in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Queue/RequeueException.php \Drupal\Core\Queue\RequeueException
- 9 core/lib/Drupal/Core/Queue/RequeueException.php \Drupal\Core\Queue\RequeueException
Throw this exception to release the item allowing it to be processed again.
Hierarchy
- class \Drupal\Core\Queue\RequeueException extends \Drupal\Core\Queue\RuntimeException
Expanded class hierarchy of RequeueException
2 files declare their use of RequeueException
- Cron.php in core/
lib/ Drupal/ Core/ Cron.php - CronTest.php in core/
tests/ Drupal/ Tests/ Core/ CronTest.php
3 string references to 'RequeueException'
- CronTest::processQueuesTestData in core/
tests/ Drupal/ Tests/ Core/ CronTest.php - Data provider for ::testProcessQueues() method.
- CronTest::setUp in core/
tests/ Drupal/ Tests/ Core/ CronTest.php - CronTest::testRequeueException in core/
tests/ Drupal/ Tests/ Core/ CronTest.php - Verify that RequeueException causes an item to be processed multiple times.
File
- core/
lib/ Drupal/ Core/ Queue/ RequeueException.php, line 8
Namespace
Drupal\Core\QueueView source
class RequeueException extends \RuntimeException {
}