From 5fea838884bc31438b30dfa1450149e3857d5823 Mon Sep 17 00:00:00 2001 From: Anisha Kumar Date: Mon, 6 Aug 2018 15:29:36 -0700 Subject: Remove declaration of subclass exception Removed declaration of exception TenantAlreadyExists since TenantAlreadyExists is a subclass of TenantException which is declared earlier. Having TenantAlreadyExists is superfluous since it is a subclass of another listed exception. Issue-ID: SO-666 Change-Id: Ic828f4f18b865767bde7d34630f31683d7d49503 Signed-off-by: Anisha Kumar --- .../src/main/java/org/onap/so/adapters/tenant/MsoTenantAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tenant/MsoTenantAdapter.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tenant/MsoTenantAdapter.java index ef66d6876c..37a84c1a56 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tenant/MsoTenantAdapter.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tenant/MsoTenantAdapter.java @@ -50,7 +50,7 @@ public interface MsoTenantAdapter @WebParam(name="request") MsoRequest msoRequest, @WebParam(name="tenantId", mode=Mode.OUT) Holder tenantId, @WebParam(name="rollback", mode=Mode.OUT) Holder rollback ) - throws TenantException, TenantAlreadyExists; + throws TenantException; @WebMethod public void queryTenant (@WebParam(name="cloudSiteId") @XmlElement(required=true) String cloudSiteId, -- cgit 1.2.3-korg