void (ExecutionException e) { try { final String message = "CantRunException" + e.getMessage() + "\n"; FileUtil.writeToFile(myTempFile, message.getBytes(StandardCharsets.UTF_8)); } catch (IOException e1) { LOG.error(e1); } }