Commit fc0c278b authored by webchick's avatar webchick

Issue #2476225 by pixel5, cilefen, disasm, jhodgdon, TravisCarden: Doxygen on...

Issue #2476225 by pixel5, cilefen, disasm, jhodgdon, TravisCarden: Doxygen on SuspendQueueException mentions non-existent callback_queue_worker()
parent 159eef8a
......@@ -10,11 +10,11 @@
/**
* Exception class to throw to indicate that a cron queue should be skipped.
*
* An implementation of callback_queue_worker() may throw this class of
* exception to indicate that processing of the whole queue should be skipped.
* This should be thrown rather than a normal Exception if the problem
* encountered by the queue worker is such that it can be deduced that workers
* of subsequent items would encounter it too. For example, if a remote site
* that the queue worker depends on appears to be inaccessible.
* An implementation of \Drupal\Core\Queue\QueueWorkerInterface::processItem()
* throws this class of exception to indicate that processing of the whole queue
* should be skipped. This should be thrown rather than a normal Exception if
* the problem encountered by the queue worker is such that it can be deduced
* that workers of subsequent items would encounter it too. For example, if a
* remote site that the queue worker depends on appears to be inaccessible.
*/
class SuspendQueueException extends \RuntimeException {}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment