1 // Copyright 2011 Google Inc. All Rights Reserved.
2 package com
.google
.appengine
.api
.taskqueue
;
5 * Mismatch of task method and queue mode.
6 * e.g. {@link Queue#leaseTasks(long, java.util.concurrent.TimeUnit, long)} called on a push queue,
7 * {@link Queue#add(TaskOptions)} with method {@link TaskOptions.Method} PULL to
8 * a push queue, or with {@link TaskOptions.Method} not equal to PULL to a pull
12 public class InvalidQueueModeException
extends RuntimeException
{
13 public InvalidQueueModeException(String detail
) {