Class InvalidQueueModeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.appengine.api.taskqueue.InvalidQueueModeException
-
- All Implemented Interfaces:
Serializable
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 methodTaskOptions.Method
PULL to a push queue, or withTaskOptions.Method
not equal to PULL to a pull queue.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidQueueModeException(String detail)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidQueueModeException
public InvalidQueueModeException(String detail)
-
-