Remove declaration of subclass exception 91/59291/1
authorAnisha Kumar <anishax.kumar@intel.com>
Mon, 6 Aug 2018 22:29:36 +0000 (15:29 -0700)
committerAnisha Kumar <anishax.kumar@intel.com>
Mon, 6 Aug 2018 22:29:41 +0000 (15:29 -0700)
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 <anishax.kumar@intel.com>
adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tenant/MsoTenantAdapter.java

index ef66d68..37a84c1 100644 (file)
@@ -50,7 +50,7 @@ public interface MsoTenantAdapter
                                                        @WebParam(name="request") MsoRequest msoRequest,
                                                        @WebParam(name="tenantId", mode=Mode.OUT) Holder<String> tenantId,
                                                        @WebParam(name="rollback", mode=Mode.OUT) Holder<TenantRollback> rollback )
-               throws TenantException, TenantAlreadyExists;
+               throws TenantException;
        
        @WebMethod
        public void queryTenant (@WebParam(name="cloudSiteId") @XmlElement(required=true) String cloudSiteId,