Patched to Drupal 8.4.8 level. See https://www.drupal.org/sa-core-2018-004 and patch...
[yaffs-website] / web / core / lib / Drupal / Core / Queue / SuspendQueueException.php
1 <?php
2
3 namespace Drupal\Core\Queue;
4
5 /**
6  * Exception class to throw to indicate that a cron queue should be skipped.
7  *
8  * An implementation of \Drupal\Core\Queue\QueueWorkerInterface::processItem()
9  * throws this class of exception to indicate that processing of the whole queue
10  * should be skipped. This should be thrown rather than a normal Exception if
11  * the problem encountered by the queue worker is such that it can be deduced
12  * that workers of subsequent items would encounter it too. For example, if a
13  * remote site that the queue worker depends on appears to be inaccessible.
14  */
15 class SuspendQueueException extends \RuntimeException {}