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:
Serializable
This exception is expected to be thrown only by the Temporal framework code.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTimeoutFailure(String message, Object lastHeartbeatDetails, io.temporal.api.enums.v1.TimeoutType timeoutType) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetMessage(String message, io.temporal.api.enums.v1.TimeoutType timeoutType) io.temporal.api.enums.v1.TimeoutTypevoidsetDataConverter(DataConverter converter) Methods inherited from class io.temporal.failure.TemporalFailure
getOriginalMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TimeoutFailure
-
-
Method Details
-
getLastHeartbeatDetails
-
getTimeoutType
public io.temporal.api.enums.v1.TimeoutType getTimeoutType() -
setDataConverter
- Overrides:
setDataConverterin classTemporalFailure
-
getMessage
-