Class ActivityAlreadyStartedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.temporal.failure.TemporalException
io.temporal.client.ActivityException
io.temporal.client.ActivityAlreadyStartedException
- All Implemented Interfaces:
Serializable
Thrown by
ActivityClient.start(java.lang.Class<I>, io.temporal.workflow.Functions.Proc1<I>, io.temporal.client.StartActivityOptions) when the server returns an ALREADY_EXISTS error because an
activity with the same ID is already running (or has a completed run that conflicts with the
requested StartActivityOptions.getIdReusePolicy() / StartActivityOptions.getIdConflictPolicy()).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionActivityAlreadyStartedException(String activityId, String activityType, String runId, Throwable cause) -
Method Summary
Methods inherited from class io.temporal.client.ActivityException
getActivityId, getRunIdMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ActivityAlreadyStartedException
-
-
Method Details
-
getActivityType
The activity type that was requested.
-