Package de.hybris.platform.task
Class RetryLaterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.hybris.platform.task.RetryLaterException
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetDelay()booleanvoidsetDelay(long delay) voidsetMethod(RetryLaterException.Method method) voidsetRollBack(boolean rollBack) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
DEFAULT_DELAY
public static final long DEFAULT_DELAY- See Also:
-
-
Constructor Details
-
RetryLaterException
public RetryLaterException() -
RetryLaterException
-
RetryLaterException
-
-
Method Details
-
getDelay
public long getDelay()- Returns:
- the delay
-
setDelay
public void setDelay(long delay) - Parameters:
delay- the delay in milliseconds
-
getMethod
- Returns:
- the method
-
setMethod
- Parameters:
method- the method to set
-
setRollBack
public void setRollBack(boolean rollBack) - Parameters:
rollBack- the rollBack to set
-
isRollBack
public boolean isRollBack()- Returns:
- the rollBack
-