Commit f44d64e6 authored by R.W.Majeed's avatar R.W.Majeed

fixed unwrapping exceptions during close

parent 0bef0912
......@@ -139,7 +139,13 @@ public class TableExport {
} finally {
// make sure all processing is completed before counting visits
if( fe != null ){
fe.close();
try{
fe.close();
}catch( UncheckedExportException e ){
throw e.getCause();
}catch( UncheckedIOException e ){
throw e.getCause();
}
}
}
return new ExportSummary(fe.getPatientCount(), fe.getVisitCount());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment