Merged from branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154647 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
891d15e355
commit
b2e0eb62cb
|
@ -68,9 +68,16 @@ public abstract class DocumentElaboration {
|
|||
br.close();
|
||||
in.close();
|
||||
fstream.close();
|
||||
throw new Exception("Elaborated file line is number " + elaborated + " > " + rowToBeElaborated + " which should be the total number of rows to elaborate. This is really strange and should not occur. Stopping execution");
|
||||
throw new Exception("Elaborated file line is number " + elaborated + " > " + rowToBeElaborated + " (total number of rows to elaborate). This is really strange and should not occur. Stopping execution");
|
||||
}
|
||||
}
|
||||
if(elaborated!=rowToBeElaborated){
|
||||
br.close();
|
||||
in.close();
|
||||
fstream.close();
|
||||
throw new Exception("Elaborated file line is number " + elaborated + " != " + rowToBeElaborated + "(total number of rows to elaborate). This is really strange and should not occur. Stopping execution");
|
||||
}
|
||||
|
||||
logger.info("{} - Elaborated {} rows of {} ({}%)", aggregationStatus.getAggregationInfo(), elaborated, rowToBeElaborated, 100);
|
||||
|
||||
br.close();
|
||||
|
|
Loading…
Reference in New Issue