Class TemporalFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.temporal.failure.TemporalException
io.temporal.failure.TemporalFailure
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ActivityFailure,ApplicationFailure,CanceledFailure,ChildWorkflowFailure,NexusOperationFailure,ServerFailure,TerminatedFailure,TimeoutFailure
Represents failures that can cross workflow and activity boundaries.
Only exceptions that extend this class will be propagated to the caller.
Never extend this class or any of its derivatives. Don't throw any subtype of this class
except ApplicationFailure. They are to be used by the SDK code only.
Throw an instance ApplicationFailure to pass application specific errors between
workflows and activities.
Any unhandled exception thrown by an activity or workflow will be converted to an instance of
ApplicationFailure.
- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getOriginalMessage
-
setDataConverter
-