public class RetryLaterException extends RuntimeException
| Modifier and Type | Class and Description |
|---|---|
static class |
RetryLaterException.Method |
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_DELAY |
| Constructor and Description |
|---|
RetryLaterException() |
RetryLaterException(String msg) |
RetryLaterException(String msg,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDelay() |
RetryLaterException.Method |
getMethod() |
boolean |
isRollBack() |
void |
setDelay(long delay) |
void |
setMethod(RetryLaterException.Method method) |
void |
setRollBack(boolean rollBack) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final long DEFAULT_DELAY
public RetryLaterException()
public RetryLaterException(String msg)
public long getDelay()
public void setDelay(long delay)
delay - the delay in millisecondspublic RetryLaterException.Method getMethod()
public void setMethod(RetryLaterException.Method method)
method - the method to setpublic void setRollBack(boolean rollBack)
rollBack - the rollBack to setpublic boolean isRollBack()
Copyright © 2017 SAP SE. All Rights Reserved.