summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnisha Kumar <anishax.kumar@intel.com>2018-08-06 15:29:36 -0700
committerAnisha Kumar <anishax.kumar@intel.com>2018-08-06 15:29:41 -0700
commit5fea838884bc31438b30dfa1450149e3857d5823 (patch)
treefcdf693c342153a0159b490a37a74b665677ccf0
parentb4b11aab90ea69704b95d1a5c9658f05e238b78b (diff)
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 <anishax.kumar@intel.com>
-rw-r--r--adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/tenant/MsoTenantAdapter.java2
1 files changed, 1 insertions, 1 deletions
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<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,