Class RepeatableTaskException

All Implemented Interfaces:
Serializable

public class RepeatableTaskException extends RuntimeException
An exception when some task that can be repeated safely has failed to signal to the caller to retry the task.
See Also:
  • Constructor Details

    • RepeatableTaskException

      public RepeatableTaskException()
      Default constructor.
    • RepeatableTaskException

      public RepeatableTaskException(Serializable id)
      Construct with an ID value.
      Parameters:
      id - An ID associated with this repeatable task.
      Since:
      1.1
    • RepeatableTaskException

      public RepeatableTaskException(String msg, Throwable t)
    • RepeatableTaskException

      public RepeatableTaskException(String msg, Throwable t, Serializable id)
      Construct with values.
      Parameters:
      msg - A message.
      t - A nested exception.
      id - An ID associated with this repeatable task.
      Since:
      1.1
    • RepeatableTaskException

      public RepeatableTaskException(String msg)
    • RepeatableTaskException

      public RepeatableTaskException(Throwable t)
  • Method Details

    • getId

      public Serializable getId()
      Get the ID associated with the repeatable task.
      Returns:
      An ID, or null if none available.