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:
java.io.Serializable
public class RetryLaterException extends java.lang.RuntimeException- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRetryLaterException.Method
-
Field Summary
Fields Modifier and Type Field Description static longDEFAULT_DELAY
-
Constructor Summary
Constructors Constructor Description RetryLaterException()RetryLaterException(java.lang.String msg)RetryLaterException(java.lang.String msg, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDelay()RetryLaterException.MethodgetMethod()booleanisRollBack()voidsetDelay(long delay)voidsetMethod(RetryLaterException.Method method)voidsetRollBack(boolean rollBack)
-
-
-
Field Detail
-
DEFAULT_DELAY
public static final long DEFAULT_DELAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDelay
public long getDelay()
- Returns:
- the delay
-
setDelay
public void setDelay(long delay)
- Parameters:
delay- the delay in milliseconds
-
getMethod
public RetryLaterException.Method getMethod()
- Returns:
- the method
-
setMethod
public void setMethod(RetryLaterException.Method method)
- 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
-
-