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 instancevoid
removeErrorsOfInstance(String instanceId)
Remove all the errors that occured for a given instance Must be called when instance is removedWorkflowError
saveError(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:
saveError
in interfaceErrorManager
-
getErrorsOfInstance
public WorkflowError[] getErrorsOfInstance(String instanceId)
Get all the errors that occured for a given instance- Specified by:
getErrorsOfInstance
in 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:
removeErrorsOfInstance
in interfaceErrorManager
-
-