org.bonitasoft.engine.execution.work.failurewrapping
public abstract class TxInHandleFailureWrappingWork extends WrappingBonitaWork
TxBonitaWorkTENANT_ACCESSOR| Constructor and Description |
|---|
TxInHandleFailureWrappingWork(org.bonitasoft.engine.work.BonitaWork work) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleFailure(Exception e,
Map<String,Object> context) |
protected abstract void |
setExceptionContext(org.bonitasoft.engine.commons.exceptions.SBonitaException sBonitaException,
Map<String,Object> context) |
void |
work(Map<String,Object> context) |
getDescription, getRecoveryProcedure, getTenantId, getWrappedWork, setTenantId, toStringgetTenantAccessorpublic TxInHandleFailureWrappingWork(org.bonitasoft.engine.work.BonitaWork work)
public void work(Map<String,Object> context) throws Exception
work in class org.bonitasoft.engine.work.BonitaWorkExceptionpublic void handleFailure(Exception e, Map<String,Object> context) throws Exception
handleFailure in class WrappingBonitaWorkExceptionCopyright © 2014 Bonitasoft S.A.. All rights reserved.