Class RollbackFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.broadleafcommerce.common.exception.BroadleafException
org.broadleafcommerce.core.workflow.WorkflowException
org.broadleafcommerce.core.workflow.state.RollbackFailureException
- All Implemented Interfaces:
Serializable,RootCauseAccessor
This exception is thrown to indicate a problem while trying to rollback
state for any and all activities during a failed workflow. Only those
activities that register their state with the ProcessContext will have
their state rolled back.
- Author:
- Jeff Fischer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Activity<? extends ProcessContext<?>>protected Throwableprotected ProcessContext<?> -
Constructor Summary
ConstructorsConstructorDescriptionRollbackFailureException(String message) RollbackFailureException(String message, Throwable cause) RollbackFailureException(Throwable rollbackFailureCause, Throwable originalWorkflowException) -
Method Summary
Modifier and TypeMethodDescriptionActivity<? extends ProcessContext<?>>voidsetActivity(Activity<? extends ProcessContext<?>> activity) voidsetOriginalWorkflowException(Throwable originalWorkflowException) voidsetProcessContext(ProcessContext<?> processContext) voidsetStateItems(Map<String, Object> stateItems) Methods inherited from class org.broadleafcommerce.common.exception.BroadleafException
getRootCause, getRootCauseMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
activity
-
processContext
-
stateItems
-
originalWorkflowException
-
-
Constructor Details
-
RollbackFailureException
public RollbackFailureException() -
RollbackFailureException
-
RollbackFailureException
-
RollbackFailureException
-
RollbackFailureException
-
-
Method Details
-
getActivity
-
setActivity
-
getProcessContext
-
setProcessContext
-
getStateItems
-
setStateItems
-
getOriginalWorkflowException
-
setOriginalWorkflowException
-