Class CompensatingActionException

  • All Implemented Interfaces:
    java.io.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<AbstractScheduledAction.Pair<Action,​org.alfresco.service.cmr.repository.NodeRef>> getCompensatingActions()
      Get the compensationg actions
      • Methods inherited from class org.alfresco.error.AlfrescoRuntimeException

        create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeException
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • CompensatingActionException

        public CompensatingActionException​(java.lang.String msgId)
        Parameters:
        msgId - String
      • CompensatingActionException

        public CompensatingActionException​(java.lang.String msgId,
                                           java.lang.Throwable cause,
                                           java.util.List<AbstractScheduledAction.Pair<Action,​org.alfresco.service.cmr.repository.NodeRef>> compensatingActions)
        Parameters:
        msgId - String
        cause - Throwable
      • CompensatingActionException

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

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

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

      • getCompensatingActions

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