/** * We read txn log files, if we fail we throw only if the user has specified * OnTxnErr.THROW, else we log an error and apply the txn log anyway */ void classifyFiles(File txnFile) { try (LogFile txn = LogFile.make(txnFile)) { readTxnLog(txn); classifyFiles(txn); files.put(txnFile, FileType.TXN_LOG); } }
/** * We read txn log files, if we fail we throw only if the user has specified * OnTxnErr.THROW, else we log an error and apply the txn log anyway */ void classifyFiles(File txnFile) { try (LogFile txn = LogFile.make(txnFile)) { readTxnLog(txn); classifyFiles(txn); files.put(txnFile, FileType.TXN_LOG); } }
/** * We read txn log files, if we fail we throw only if the user has specified * OnTxnErr.THROW, else we log an error and apply the txn log anyway */ void classifyFiles(File txnFile) { try (LogFile txn = LogFile.make(txnFile)) { readTxnLog(txn); classifyFiles(txn); files.put(txnFile, FileType.TXN_LOG); } }
/** * We read txn log files, if we fail we throw only if the user has specified * OnTxnErr.THROW, else we log an error and apply the txn log anyway */ void classifyFiles(File txnFile) { try (LogFile txn = LogFile.make(txnFile)) { readTxnLog(txn); classifyFiles(txn); files.put(txnFile, FileType.TXN_LOG); } }