Package io.temporal.failure
Class CanceledFailure
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.temporal.failure.TemporalException
-
- io.temporal.failure.TemporalFailure
-
- io.temporal.failure.CanceledFailure
-
- All Implemented Interfaces:
java.io.Serializable
public final class CanceledFailure extends TemporalFailure
This exception is expected to be thrown only by the Temporal framework code.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CanceledFailure(java.lang.String message)
CanceledFailure(java.lang.String message, Values details, java.lang.Throwable cause)
CanceledFailure(java.lang.String message, java.lang.Object details)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Values
getDetails()
void
setDataConverter(DataConverter converter)
-
Methods inherited from class io.temporal.failure.TemporalFailure
getOriginalMessage
-
-
-
-
Constructor Detail
-
CanceledFailure
public CanceledFailure(java.lang.String message, @Nonnull Values details, @Nullable java.lang.Throwable cause)
-
CanceledFailure
public CanceledFailure(java.lang.String message, java.lang.Object details)
-
CanceledFailure
public CanceledFailure(java.lang.String message)
-
-
Method Detail
-
getDetails
public Values getDetails()
-
setDataConverter
public void setDataConverter(DataConverter converter)
- Overrides:
setDataConverter
in classTemporalFailure
-
-