Class ServerFailure

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ServerFailure
    extends TemporalFailure
    Exceptions originated at the Temporal service.
    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 java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ServerFailure

        public ServerFailure​(java.lang.String message,
                             boolean nonRetryable)
      • ServerFailure

        public ServerFailure​(java.lang.String message,
                             boolean nonRetryable,
                             @Nullable
                             java.lang.Throwable cause)
    • Method Detail

      • isNonRetryable

        public boolean isNonRetryable()