Class CompensatingActionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.alfresco.error.AlfrescoRuntimeException
-
- org.alfresco.repo.action.scheduled.CompensatingActionException
-
- All Implemented Interfaces:
java.io.Serializable
public class CompensatingActionException extends org.alfresco.error.AlfrescoRuntimeExceptionError 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 Summary
Constructors Constructor Description CompensatingActionException(java.lang.String msgId)CompensatingActionException(java.lang.String msgId, java.lang.Object[] msgParams)CompensatingActionException(java.lang.String msgId, java.lang.Object[] msgParams, java.lang.Throwable cause)CompensatingActionException(java.lang.String msgId, java.lang.Throwable cause)CompensatingActionException(java.lang.String msgId, java.lang.Throwable cause, java.util.List<AbstractScheduledAction.Pair<Action,org.alfresco.service.cmr.repository.NodeRef>> compensatingActions)
-
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
-
-
-
-
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- Stringcause- Throwable
-
CompensatingActionException
public CompensatingActionException(java.lang.String msgId, java.lang.Object[] msgParams)- Parameters:
msgId- StringmsgParams- Object[]
-
CompensatingActionException
public CompensatingActionException(java.lang.String msgId, java.lang.Throwable cause)- Parameters:
msgId- Stringcause- Throwable
-
CompensatingActionException
public CompensatingActionException(java.lang.String msgId, java.lang.Object[] msgParams, java.lang.Throwable cause)- Parameters:
msgId- StringmsgParams- 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
-
-