final FailedPrintJob failedJob = new FailedPrintJob(
printJob.getReportRef(), printJob.getAppId(), new Date(), "", "task canceled (timeout)",
printJob.getAccessAssertion());
failedJob.store(registryRef, this.assertionPersister);
registryRef.incrementInt(NB_PRINT_DONE, 1);
registryRef.incrementLong(TOTAL_PRINT_TIME, printJob.getTimeSinceStart());
} catch (JSONException e1) {
registryRef.incrementInt(LAST_PRINT_COUNT, 1);
}
}
}