TaskAlreadyExistsException (Google App Engine API for Java)

com.google.appengine.api.taskqueue

Class TaskAlreadyExistsException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.google.appengine.api.taskqueue.TaskAlreadyExistsException
  • All Implemented Interfaces:
    java.io.Serializable


    public class TaskAlreadyExistsException
    extends java.lang.RuntimeException
    One or more task names already exists in the queue.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<java.lang.String> getTaskNames()
      Returns a list of the names of the tasks that already exist, in the same order as they were given in the call to add().
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TaskAlreadyExistsException

        public TaskAlreadyExistsException(java.lang.String detail)
    • Method Detail

      • getTaskNames

        public java.util.List<java.lang.String> getTaskNames()
        Returns a list of the names of the tasks that already exist, in the same order as they were given in the call to add(). Only some of the methods that throw a TaskAlreadyExistsException will populate this list. Otherwise it will be an empty list.

Send feedback about...