Remove the declaration of thrown exception 18/94018/1
authoranushadasari <danush10@in.ibm.com>
Wed, 21 Aug 2019 07:01:47 +0000 (12:31 +0530)
committeranushadasari <danush10@in.ibm.com>
Wed, 21 Aug 2019 07:05:47 +0000 (12:35 +0530)
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>
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/helpers/BatchDataView.java

index ab3a49f..d3209a0 100644 (file)
@@ -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;
     }