From bc84828fc50f36d98de8ba3c83604d2e2fc35df4 Mon Sep 17 00:00:00 2001 From: lucio Date: Wed, 8 Apr 2020 16:47:56 +0200 Subject: [PATCH] fixed exception name --- .../publisher/stubs/registry/CollectorStubs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/informationsystem/publisher/stubs/registry/CollectorStubs.java b/src/main/java/org/gcube/informationsystem/publisher/stubs/registry/CollectorStubs.java index ca7f48d..70a0bf1 100644 --- a/src/main/java/org/gcube/informationsystem/publisher/stubs/registry/CollectorStubs.java +++ b/src/main/java/org/gcube/informationsystem/publisher/stubs/registry/CollectorStubs.java @@ -95,7 +95,7 @@ public class CollectorStubs implements RegistryStub { } }catch (ResourceDoesNotExistException | RemoveException e) { throw e; - }catch (Exception e) { + }catch (Exception e1) { throw new RemoveException("connection error removing resource"); } }