Class ErrorManagerImpl
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.error.ErrorManagerImpl
-
- All Implemented Interfaces:
ErrorManager
@Service @Singleton public class ErrorManagerImpl extends Object implements ErrorManager
The workflow engine services relate to error management.
-
-
Constructor Summary
Constructors Constructor Description ErrorManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowError[]getErrorsOfInstance(String instanceId)Get all the errors that occured for a given instancevoidremoveErrorsOfInstance(String instanceId)Remove all the errors that occured for a given instance Must be called when instance is removedWorkflowErrorsaveError(ProcessInstance instance, GenericEvent event, Exception exception)Save an error
-
-
-
Method Detail
-
saveError
public WorkflowError saveError(ProcessInstance instance, GenericEvent event, Exception exception)
Save an error- Specified by:
saveErrorin interfaceErrorManager
-
getErrorsOfInstance
public WorkflowError[] getErrorsOfInstance(String instanceId)
Get all the errors that occured for a given instance- Specified by:
getErrorsOfInstancein interfaceErrorManager
-
removeErrorsOfInstance
public void removeErrorsOfInstance(String instanceId)
Remove all the errors that occured for a given instance Must be called when instance is removed- Specified by:
removeErrorsOfInstancein interfaceErrorManager
-
-