throws RegistryException {
if (provenanceRegistry != null){
return provenanceRegistry.addExperimentError(error);
}
ExecutionErrorResource executionError = createNewExecutionErrorResource(error.getExperimentId(),error,ExecutionErrors.Source.EXPERIMENT);
executionError.save();
return executionError.getErrorID();
}
private ExecutionErrorResource createNewExecutionErrorResource(
String experimentId, ExecutionError errorSource, ExecutionErrors.Source type) throws RegistryException {