Exception InvalidQueueModeException (2.0.0)

public class InvalidQueueModeException extends RuntimeException

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.

Constructors

InvalidQueueModeException(String detail)

public InvalidQueueModeException(String detail)
Parameter
Name Description
detail String