A copy of this object with the given flags replacing the current flags.
A copy of this object with the given flags replacing the current flags. The caller of this method should check to see if a copy is necessary before calling.
As this is an internal API, the other Throwable
fields such as the cause
and stack trace should be handled by callers.
This as a non-retryable failure.
This as a non-retryable failure. This does not mutate.
This as a rejected failure.
This as a rejected failure. This does not mutate.
Test if this is flagged with a particular set of flags
Test if this is flagged with a particular set of flags
For Java users wanting to implement exceptions that are FailureFlags.