Class ActivityFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.temporal.failure.TemporalException
io.temporal.client.ActivityException
io.temporal.client.ActivityFailedException
- All Implemented Interfaces:
Serializable
Thrown by
ActivityHandle.getResult() when the standalone activity was not successful. The
original cause can be retrieved via Throwable.getCause().- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionActivityFailedException(String message, String activityId, 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
-
ActivityFailedException
-