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:
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:
-
Constructor Summary
ConstructorsConstructorDescriptionCompensatingActionException(String msgId, Object[] msgParams) CompensatingActionException(String msgId, Object[] msgParams, Throwable cause) CompensatingActionException(String msgId, Throwable cause) CompensatingActionException(String msgId, Throwable cause, List<AbstractScheduledAction.Pair<Action, NodeRef>> compensatingActions) -
Method Summary
Modifier and TypeMethodDescriptionGet the compensationg actionsMethods inherited from class org.alfresco.error.AlfrescoRuntimeException
create, create, getMsgId, getMsgParams, getNumericalId, getRootCause, makeRuntimeExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CompensatingActionException
- Parameters:
msgId- String
-
CompensatingActionException
public CompensatingActionException(String msgId, Throwable cause, List<AbstractScheduledAction.Pair<Action, NodeRef>> compensatingActions) - Parameters:
msgId- Stringcause- Throwable
-
CompensatingActionException
- Parameters:
msgId- StringmsgParams- Object[]
-
CompensatingActionException
- Parameters:
msgId- Stringcause- Throwable
-
CompensatingActionException
- Parameters:
msgId- StringmsgParams- Object[]cause- Throwable
-
-
Method Details
-
getCompensatingActions
Get the compensationg actions- Returns:
- - the compensating actions
-