Class ActivityCompletionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.temporal.failure.TemporalException
io.temporal.client.ActivityCompletionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ActivityCanceledException,ActivityCompletionFailureException,ActivityNotExistsException,ActivityPausedException,ActivityResetException,ActivityWorkerShutdownException
Base exception for all failures returned by an activity completion client. Do not extend!
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedprotectedActivityCompletionException(ActivityInfo info, Throwable cause) protectedActivityCompletionException(String activityId, Throwable cause) protected -
Method Summary
Modifier and TypeMethodDescriptionOptional as it might be not known to the exception source.Optional as it might be not known to the exception source.getRunId()Optional as it might be not known to the exception source.Optional as it might be not known to the exception source.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ActivityCompletionException
-
ActivityCompletionException
-
ActivityCompletionException
-
ActivityCompletionException
-
ActivityCompletionException
protected ActivityCompletionException()
-
-
Method Details
-
getWorkflowId
-
getRunId
-
getActivityType
-
getActivityId
-