Class FlowControlRetryException

All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.RetryNumberAccessor, org.refcodes.mixin.TimeoutMillisAccessor

public class FlowControlRetryException extends FlowControlTimeoutException implements org.refcodes.mixin.RetryNumberAccessor
Thrown in case a flow control failed due t a timeout.
See Also:
  • Constructor Details

    • FlowControlRetryException

      public FlowControlRetryException(int aRetryNumber, long aTimeoutMillis, String aMessage, String aErrorCode)
      Parameters:
      aRetryNumber - The number of retries after which the exception occurred.
    • FlowControlRetryException

      public FlowControlRetryException(int aRetryNumber, long aTimeoutMillis, String aMessage, Throwable aCause, String aErrorCode)
      Parameters:
      aRetryNumber - The number of retries after which the exception occurred.
    • FlowControlRetryException

      public FlowControlRetryException(int aRetryNumber, long aTimeoutMillis, String aMessage, Throwable aCause)
      Parameters:
      aRetryNumber - The number of retries after which the exception occurred.
    • FlowControlRetryException

      public FlowControlRetryException(int aRetryNumber, long aTimeoutMillis, String aMessage)
      Parameters:
      aRetryNumber - The number of retries after which the exception occurred.
    • FlowControlRetryException

      public FlowControlRetryException(int aRetryNumber, long aTimeoutMillis, Throwable aCause, String aErrorCode)
      Parameters:
      aRetryNumber - The number of retries after which the exception occurred.
    • FlowControlRetryException

      public FlowControlRetryException(int aRetryNumber, long aTimeoutMillis, Throwable aCause)
      Parameters:
      aRetryNumber - The number of retries after which the exception occurred.
  • Method Details

    • getRetryNumber

      public int getRetryNumber()
      The timeout attribute in milliseconds.
      Specified by:
      getRetryNumber in interface org.refcodes.mixin.RetryNumberAccessor
      Returns:
      An long integer with the timeout in milliseconds.