Package io.temporal.failure
Class ServerFailure
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.temporal.failure.TemporalException
-
- io.temporal.failure.TemporalFailure
-
- io.temporal.failure.ServerFailure
-
- All Implemented Interfaces:
java.io.Serializable
public final class ServerFailure extends TemporalFailure
Exceptions originated at the Temporal service.This exception is expected to be thrown only by the Temporal framework code.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerFailure(java.lang.String message, boolean nonRetryable)
ServerFailure(java.lang.String message, boolean nonRetryable, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isNonRetryable()
-
Methods inherited from class io.temporal.failure.TemporalFailure
getOriginalMessage, setDataConverter
-
-