Class FlowNodeDefinitionAndInstanceContextWork
java.lang.Object
org.bonitasoft.engine.work.BonitaWork
org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
org.bonitasoft.engine.execution.work.WrappingBonitaWork
org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork
org.bonitasoft.engine.execution.work.failurewrapping.FlowNodeDefinitionAndInstanceContextWork
Adding context information about Flow Node & Process definition and instance to exception for better logging
- Author:
- Aurelien Pupier, Celine Souchet
-
Field Summary
Fields inherited from class org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
SERVICE_ACCESSORFields inherited from class org.bonitasoft.engine.work.BonitaWork
tenantId -
Constructor Summary
ConstructorsConstructorDescriptionFlowNodeDefinitionAndInstanceContextWork(WrappingBonitaWork wrappedWork, long flowNodeInstanceId) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetExceptionContext(SBonitaException sBonitaException, Map<String, Object> context) Methods inherited from class org.bonitasoft.engine.execution.work.failurewrapping.TxInHandleFailureWrappingWork
handleFailure, workMethods inherited from class org.bonitasoft.engine.execution.work.WrappingBonitaWork
getDescription, getRecoveryProcedure, getTenantId, getWrappedWork, setTenantId, toStringMethods inherited from class org.bonitasoft.engine.execution.work.TenantAwareBonitaWork
getServiceAccessorMethods inherited from class org.bonitasoft.engine.work.BonitaWork
canBeRecoveredByTheRecoveryMechanism, equals, getParent, getRootWork, getUuid, hashCode, setParent
-
Constructor Details
-
FlowNodeDefinitionAndInstanceContextWork
public FlowNodeDefinitionAndInstanceContextWork(WrappingBonitaWork wrappedWork, long flowNodeInstanceId) - Parameters:
wrappedWork- The work to wrapflowNodeInstanceId- The identifier of the flow node instance
-
-
Method Details
-
setExceptionContext
protected void setExceptionContext(SBonitaException sBonitaException, Map<String, Object> context) throws SBonitaException- Specified by:
setExceptionContextin classTxInHandleFailureWrappingWork- Throws:
SBonitaException
-