print = new PrintStream(new File(backdir, currentTime + "_backup_err.log"));
dateFormat.applyPattern("yyyy-MM-dd HH:mm:ss");
currentTime = dateFormat.format(calendar.getTime());
print.println(currentTime + " backup failed.");
e.printStackTrace(print);
print.flush();
} catch (IOException e2) {
} finally {
if (print != null) {
print.close();
}
}
}
}