public final class TimeoutFailure extends TemporalFailure
Constructor and Description |
---|
TimeoutFailure(java.lang.String message,
java.lang.Object lastHeartbeatDetails,
io.temporal.api.enums.v1.TimeoutType timeoutType) |
Modifier and Type | Method and Description |
---|---|
Values |
getLastHeartbeatDetails() |
static java.lang.String |
getMessage(java.lang.String message,
io.temporal.api.enums.v1.TimeoutType timeoutType) |
io.temporal.api.enums.v1.TimeoutType |
getTimeoutType() |
void |
setDataConverter(DataConverter converter) |
getOriginalMessage
public TimeoutFailure(java.lang.String message, java.lang.Object lastHeartbeatDetails, io.temporal.api.enums.v1.TimeoutType timeoutType)
public Values getLastHeartbeatDetails()
public io.temporal.api.enums.v1.TimeoutType getTimeoutType()
public void setDataConverter(DataConverter converter)
setDataConverter
in class TemporalFailure
public static java.lang.String getMessage(java.lang.String message, io.temporal.api.enums.v1.TimeoutType timeoutType)