Class ActivityFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.temporal.failure.TemporalException
io.temporal.failure.TemporalFailure
io.temporal.failure.ActivityFailure
- All Implemented Interfaces:
Serializable
Contains information about an activity failure. Always contains the original reason for the
failure as its cause. For example if an activity timed out the cause is
TimeoutFailure.
This exception is expected to be thrown only by the Temporal framework code.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.temporal.failure.TemporalFailure
getOriginalMessage, setDataConverterMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ActivityFailure
-
-
Method Details
-
getScheduledEventId
public long getScheduledEventId() -
getStartedEventId
public long getStartedEventId() -
getActivityType
-
getActivityId
-
getIdentity
-
getRetryState
public io.temporal.api.enums.v1.RetryState getRetryState() -
getMessage
-