Class NoRetryException

All Implemented Interfaces:
Serializable

public class NoRetryException extends RuntimeException
This class can be used in the callback given to TestUtils.retryOnExceptionWithTimeout(long, long, ValuelessCallable) to indicate that a particular exception should not be retried. Instead the retry operation will be aborted immediately and the exception will be rethrown.
See Also:
  • Constructor Details

    • NoRetryException

      public NoRetryException(Throwable cause)
  • Method Details