public class RetriableException
extends io.axual.common.exception.ClientException
| Constructor and Description |
|---|
RetriableException(java.time.Duration sleepTime)
Creates a new RetriableException with specified sleeptime
|
RetriableException(long sleepTime)
Deprecated.
|
RetriableException(java.lang.Throwable cause)
Creates a new RetriableException with default sleeptime
|
RetriableException(java.lang.Throwable cause,
java.time.Duration sleepTime)
Creates a new RetriableException with specified sleeptime
|
RetriableException(java.lang.Throwable cause,
long sleepTime)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.time.Duration |
getSleepTime() |
public RetriableException(java.lang.Throwable cause)
cause - the original error@Deprecated
public RetriableException(java.lang.Throwable cause,
long sleepTime)
cause - the original errorsleepTime - the time to sleep before retrying to process the messagepublic RetriableException(java.lang.Throwable cause,
java.time.Duration sleepTime)
cause - the original errorsleepTime - the time to sleep before retrying to process the message@Deprecated public RetriableException(long sleepTime)
sleepTime - the time to sleep in millispublic RetriableException(java.time.Duration sleepTime)
sleepTime - the time to sleep in millisCopyright © 2020–2021 Axual B.V.. All rights reserved.