com.silverpeas.workflow.api
Interface ErrorManager

All Known Implementing Classes:
ErrorManagerImpl

public interface ErrorManager

The workflow engine services relate to error management.


Method Summary
 WorkflowError[] getErrorsOfInstance(String instanceId)
          Get all the errors that occured for a given instance
 void removeErrorsOfInstance(String instanceId)
          Remove all the errors that occured for a given instance Must be called when instance is removed
 WorkflowError saveError(ProcessInstance instance, GenericEvent event, HistoryStep step, Exception exception)
          Save an error
 

Method Detail

saveError

WorkflowError saveError(ProcessInstance instance,
                        GenericEvent event,
                        HistoryStep step,
                        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



Copyright © 2016 Silverpeas. All Rights Reserved.