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 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 Summary
Constructors Constructor Description CompensatingActionException(String msgId)CompensatingActionException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AbstractScheduledAction.Pair<Action,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
-
-
-
-
Constructor Detail
-
CompensatingActionException
public CompensatingActionException(String msgId)
- Parameters:
msgId- String
-
CompensatingActionException
public CompensatingActionException(String msgId, Throwable cause, List<AbstractScheduledAction.Pair<Action,NodeRef>> compensatingActions)
- Parameters:
msgId- Stringcause- Throwable
-
CompensatingActionException
public CompensatingActionException(String msgId, Object[] msgParams)
- Parameters:
msgId- StringmsgParams- Object[]
-
CompensatingActionException
public CompensatingActionException(String msgId, Throwable cause)
- Parameters:
msgId- Stringcause- Throwable
-
-
Method Detail
-
getCompensatingActions
public List<AbstractScheduledAction.Pair<Action,NodeRef>> getCompensatingActions()
Get the compensationg actions- Returns:
- - the compensating actions
-
-