Class RetryLaterException

All Implemented Interfaces:
Serializable

public class RetryLaterException extends RuntimeException
See Also:
  • Field Details

  • Constructor Details

    • RetryLaterException

      public RetryLaterException()
    • RetryLaterException

      public RetryLaterException(String msg)
    • RetryLaterException

      public RetryLaterException(String msg, Throwable cause)
  • Method Details

    • getDelay

      public long getDelay()
      Returns:
      the delay
    • setDelay

      public void setDelay(long delay)
      Parameters:
      delay - the delay in milliseconds
    • getMethod

      public RetryLaterException.Method getMethod()
      Returns:
      the method
    • setMethod

      public void setMethod(RetryLaterException.Method method)
      Parameters:
      method - the method to set
    • setRollBack

      public void setRollBack(boolean rollBack)
      Parameters:
      rollBack - the rollBack to set
    • isRollBack

      public boolean isRollBack()
      Returns:
      the rollBack