|
|
|
@ -179,18 +179,8 @@ public class WorkspaceThreddsSynchronize
|
|
|
|
|
return synStatus;
|
|
|
|
|
|
|
|
|
|
} catch (WorkspaceInteractionException | InternalException | ProcessNotFoundException e) {
|
|
|
|
|
logger.error("Error: ", e);
|
|
|
|
|
|
|
|
|
|
if (e instanceof WorkspaceInteractionException)
|
|
|
|
|
throw new Exception(
|
|
|
|
|
"Sorry, an error occurred during syncronization due to WS interection for the itemId: "
|
|
|
|
|
+ itemId);
|
|
|
|
|
else if (e instanceof InternalException)
|
|
|
|
|
throw new Exception(
|
|
|
|
|
"Sorry, an Internal Exception occurred during syncronization for the itemId: " + itemId);
|
|
|
|
|
|
|
|
|
|
throw new Exception(
|
|
|
|
|
"Sorry, an error occurred server side during syncronization for the itemId: " + itemId);
|
|
|
|
|
logger.error("DoSync Error: ", e);
|
|
|
|
|
throw e;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|