public final class ActivityFailureException extends ActivityException
Constructor and Description |
---|
ActivityFailureException(long eventId,
ActivityType activityType,
java.lang.String activityId,
java.lang.Throwable cause) |
ActivityFailureException(long eventId,
ActivityType activityType,
java.lang.String activityId,
java.lang.Throwable cause,
int attempt,
java.time.Duration backoff) |
Modifier and Type | Method and Description |
---|---|
int |
getAttempt() |
java.time.Duration |
getBackoff() |
getActivityId, getActivityType
getEventId
public ActivityFailureException(long eventId, ActivityType activityType, java.lang.String activityId, java.lang.Throwable cause)
public ActivityFailureException(long eventId, ActivityType activityType, java.lang.String activityId, java.lang.Throwable cause, int attempt, java.time.Duration backoff)