public final class ActivityTimeoutException extends ActivityException
TimeoutType.Heartbeat
then the getDetails(Class)
returns a value passed to the
latest successful Activity.heartbeat(Object)
call.Constructor and Description |
---|
ActivityTimeoutException(long eventId,
io.temporal.proto.common.ActivityType activityType,
java.lang.String activityId,
io.temporal.proto.event.TimeoutType timeoutType,
byte[] details,
DataConverter dataConverter) |
Modifier and Type | Method and Description |
---|---|
<V> V |
getDetails(java.lang.Class<V> detailsClass) |
<V> V |
getDetails(java.lang.Class<V> detailsClass,
java.lang.reflect.Type detailsType) |
io.temporal.proto.event.TimeoutType |
getTimeoutType() |
getActivityId, getActivityType
getEventId
public ActivityTimeoutException(long eventId, io.temporal.proto.common.ActivityType activityType, java.lang.String activityId, io.temporal.proto.event.TimeoutType timeoutType, byte[] details, DataConverter dataConverter)
public io.temporal.proto.event.TimeoutType getTimeoutType()
public <V> V getDetails(java.lang.Class<V> detailsClass)
public <V> V getDetails(java.lang.Class<V> detailsClass, java.lang.reflect.Type detailsType)