Package io.temporal.failure
Class TimeoutFailure
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.temporal.failure.TemporalException
-
- io.temporal.failure.TemporalFailure
-
- io.temporal.failure.TimeoutFailure
-
- All Implemented Interfaces:
java.io.Serializable
public final class TimeoutFailure extends TemporalFailure
This exception is expected to be thrown only by the Temporal framework code.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeoutFailure(java.lang.String message, java.lang.Object lastHeartbeatDetails, io.temporal.api.enums.v1.TimeoutType timeoutType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class io.temporal.failure.TemporalFailure
getOriginalMessage
-
-
-
-
Method Detail
-
getLastHeartbeatDetails
public Values getLastHeartbeatDetails()
-
getTimeoutType
public io.temporal.api.enums.v1.TimeoutType getTimeoutType()
-
setDataConverter
public void setDataConverter(DataConverter converter)
- Overrides:
setDataConverter
in classTemporalFailure
-
getMessage
public static java.lang.String getMessage(java.lang.String message, io.temporal.api.enums.v1.TimeoutType timeoutType)
-
-