You are here

class RequeueException in Drupal 9

Same name and namespace in other branches
  1. 8 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

3 files declare their use of RequeueException
Cron.php in core/lib/Drupal/Core/Cron.php
CronQueueTestRequeueException.php in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestRequeueException.php
CronTest.php in core/tests/Drupal/Tests/Core/CronTest.php
2 string references to 'RequeueException'
CronTest::processQueuesTestData in core/tests/Drupal/Tests/Core/CronTest.php
Data provider for ::testProcessQueues() method.
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\Queue
View source
class RequeueException extends \RuntimeException {

}

Members