Class LocalActivityCallback.LocalActivityFailedException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing interface:
    LocalActivityCallback

    public static class LocalActivityCallback.LocalActivityFailedException
    extends java.lang.RuntimeException
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LocalActivityFailedException​(io.temporal.api.failure.v1.Failure failure, long originalScheduledTimestamp, int lastAttempt, java.time.Duration backoff)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.Duration getBackoff()  
      io.temporal.api.failure.v1.Failure getFailure()  
      int getLastAttempt()  
      • 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

      • LocalActivityFailedException

        public LocalActivityFailedException​(@Nonnull
                                            io.temporal.api.failure.v1.Failure failure,
                                            long originalScheduledTimestamp,
                                            int lastAttempt,
                                            @Nullable
                                            java.time.Duration backoff)
    • Method Detail

      • getFailure

        @Nonnull
        public io.temporal.api.failure.v1.Failure getFailure()
      • getLastAttempt

        public int getLastAttempt()
      • getBackoff

        @Nullable
        public java.time.Duration getBackoff()