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 class
RetryLaterException.Method
-
Field Summary
Fields Modifier and Type Field Description static long
DEFAULT_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 long
getDelay()
RetryLaterException.Method
getMethod()
boolean
isRollBack()
void
setDelay(long delay)
void
setMethod(RetryLaterException.Method method)
void
setRollBack(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
-
-