Class ServerFailure

All Implemented Interfaces:
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:
  • Constructor Details

    • ServerFailure

      public ServerFailure(String message, boolean nonRetryable)
    • ServerFailure

      public ServerFailure(String message, boolean nonRetryable, @Nullable Throwable cause)
  • Method Details

    • isNonRetryable

      public boolean isNonRetryable()