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,
ActivityType activityType,
java.lang.String activityId,
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) |
TimeoutType |
getTimeoutType() |
getActivityId, getActivityType
getEventId
public ActivityTimeoutException(long eventId, ActivityType activityType, java.lang.String activityId, TimeoutType timeoutType, byte[] details, DataConverter dataConverter)
public 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)