Mismatch of task method and queue mode. e.g. Queue#leaseTasks(long,
java.util.concurrent.TimeUnit, long) called on a push queue, Queue#add(TaskOptions) with
method TaskOptions.Method PULL to a push queue, or with TaskOptions.Method not
equal to PULL to a pull queue.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["`InvalidQueueModeException` is a runtime exception triggered by a mismatch between the task method and the queue mode."],["This exception occurs when operations like `Queue#leaseTasks` are used on a push queue, or when `Queue#add` is used with `TaskOptions.Method` PULL on a push queue."],["This exception also occurs when the `TaskOptions.Method` is not set to PULL when being performed on a pull queue."],["The `InvalidQueueModeException` constructor takes a string parameter `detail` for providing a detailed description of the exception."],["This exception inherits various methods from `Object` and `Throwable` classes, including methods for stack trace manipulation and basic object operations."]]],[]]