org.broadleafcommerce.core.workflow.state
Class RollbackFailureException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.broadleafcommerce.common.exception.BroadleafException
              extended by org.broadleafcommerce.core.workflow.WorkflowException
                  extended by org.broadleafcommerce.core.workflow.state.RollbackFailureException
All Implemented Interfaces:
Serializable, RootCauseAccessor

public class RollbackFailureException
extends WorkflowException

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:
Serialized Form

Constructor Summary
RollbackFailureException()
           
RollbackFailureException(String message)
           
RollbackFailureException(String message, Throwable cause)
           
RollbackFailureException(Throwable cause)
           
 
Method Summary
 Activity<? extends ProcessContext> getActivity()
           
 ProcessContext getProcessContext()
           
 HashMap<String,?> getStateItems()
           
 void setActivity(Activity<? extends ProcessContext> activity)
           
 void setProcessContext(ProcessContext processContext)
           
 void setStateItems(HashMap<String,?> stateItems)
           
 
Methods inherited from class org.broadleafcommerce.common.exception.BroadleafException
getRootCause, getRootCauseMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RollbackFailureException

public RollbackFailureException()

RollbackFailureException

public RollbackFailureException(Throwable cause)

RollbackFailureException

public RollbackFailureException(String message)

RollbackFailureException

public RollbackFailureException(String message,
                                Throwable cause)
Method Detail

getActivity

public Activity<? extends ProcessContext> getActivity()

setActivity

public void setActivity(Activity<? extends ProcessContext> activity)

getProcessContext

public ProcessContext getProcessContext()

setProcessContext

public void setProcessContext(ProcessContext processContext)

getStateItems

public HashMap<String,?> getStateItems()

setStateItems

public void setStateItems(HashMap<String,?> stateItems)


Copyright © 2013. All Rights Reserved.