summaryrefslogtreecommitdiffstats
path: root/auth/auth-batch/src
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-08-21 12:31:47 +0530
committeranushadasari <danush10@in.ibm.com>2019-08-21 12:35:47 +0530
commit21bb68c5ca6be430f085c120792f055d5aefbd27 (patch)
treedc60a13622a7b8bbfab34beb479a72fe37b4e87f /auth/auth-batch/src
parent4c231d800a0cba774f6bbcaa6ddb40a572d0fe4d (diff)
Remove the declaration of thrown exception
Remove the declaration of thrown exception 'org.onap.aaf.misc.env.APIException','java.io.IOException' as it cannot be thrown from constructor's and method body. Change-Id: I84519b6df9998bbbc9203a59cc4470f8ef8b4e0f Issue-ID: AAF-946 Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'auth/auth-batch/src')
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/BatchDataView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/BatchDataView.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/BatchDataView.java
index ab3a49fa..d3209a02 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/BatchDataView.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/BatchDataView.java
@@ -49,12 +49,12 @@ public class BatchDataView implements DataView {
private final CQLBatchLoop cqlBatch;
private final Session session;
- public BatchDataView(final AuthzTrans trans, final Session session, final boolean dryRun ) throws APIException, IOException {
+ public BatchDataView(final AuthzTrans trans, final Session session, final boolean dryRun ){
this.session = session;
cqlBatch = new CQLBatchLoop(new CQLBatch(trans.info(),session),50,dryRun);
}
- public Session getSession(AuthzTrans trans) throws APIException, IOException {
+ public Session getSession(AuthzTrans trans){
return session;
}