Class FlowControlTimeoutException

All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.TimeoutInMsAccessor
Direct Known Subclasses:
FlowControlRetryException

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

    • FlowControlTimeoutException

      public FlowControlTimeoutException​(long aTimeoutInMs, String aMessage, String aErrorCode)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
    • FlowControlTimeoutException

      public FlowControlTimeoutException​(long aTimeoutInMs, String aMessage, Throwable aCause, String aErrorCode)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
    • FlowControlTimeoutException

      public FlowControlTimeoutException​(long aTimeoutInMs, String aMessage, Throwable aCause)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
    • FlowControlTimeoutException

      public FlowControlTimeoutException​(long aTimeoutInMs, String aMessage)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
    • FlowControlTimeoutException

      public FlowControlTimeoutException​(long aTimeoutInMs, Throwable aCause, String aErrorCode)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
    • FlowControlTimeoutException

      public FlowControlTimeoutException​(long aTimeoutInMs, Throwable aCause)
      Parameters:
      aTimeoutInMs - The timeout in milliseconds causing the exception.
  • Method Details

    • getTimeoutInMs

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