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>
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;
}