Class CompensatingActionException

  • All Implemented Interfaces:
    Serializable

    public class CompensatingActionException
    extends org.alfresco.error.AlfrescoRuntimeException
    Error that triggers the execution of compensating actions. The required compensating actions are contained by the exception thrown.
    Author:
    Andy Hind
    See Also:
    Serialized Form
    • Constructor Detail

      • CompensatingActionException

        public CompensatingActionException​(String msgId)
        Parameters:
        msgId - String
      • CompensatingActionException

        public CompensatingActionException​(String msgId,
                                           Object[] msgParams)
        Parameters:
        msgId - String
        msgParams - Object[]
      • CompensatingActionException

        public CompensatingActionException​(String msgId,
                                           Throwable cause)
        Parameters:
        msgId - String
        cause - Throwable
      • CompensatingActionException

        public CompensatingActionException​(String msgId,
                                           Object[] msgParams,
                                           Throwable cause)
        Parameters:
        msgId - String
        msgParams - Object[]
        cause - Throwable
    • Method Detail

      • getCompensatingActions

        public List<AbstractScheduledAction.Pair<Action,​org.alfresco.service.cmr.repository.NodeRef>> getCompensatingActions()
        Get the compensationg actions
        Returns:
        - the compensating actions