class RequeueException

Same name in other branches
  1. 9 core/lib/Drupal/Core/Queue/RequeueException.php \Drupal\Core\Queue\RequeueException
  2. 10 core/lib/Drupal/Core/Queue/RequeueException.php \Drupal\Core\Queue\RequeueException
  3. 11.x 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
CronQueueTestRequeueException.php in core/modules/system/tests/modules/cron_queue_test/src/Plugin/QueueWorker/CronQueueTestRequeueException.php

File

core/lib/Drupal/Core/Queue/RequeueException.php, line 8

Namespace

Drupal\Core\Queue
View source
class RequeueException extends \RuntimeException {

}

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