Package org.silverpeas.core.workflow.api
Interface ErrorManager
-
- All Known Implementing Classes:
ErrorManagerImpl
public interface ErrorManager
The workflow engine services relate to error management.
-
-
Method Summary
All Methods Instance Methods Abstract 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
WorkflowError saveError(ProcessInstance instance, GenericEvent event, Exception exception)
Save an error
-
getErrorsOfInstance
WorkflowError[] getErrorsOfInstance(String instanceId)
Get all the errors that occured for a given instance
-
removeErrorsOfInstance
void removeErrorsOfInstance(String instanceId)
Remove all the errors that occured for a given instance Must be called when instance is removed
-
-