if (errorText != null && errorText.length() > 0) {
throw new Exception("could not send command to Supervisor Job Scheduler [" + this.getEventSupervisorSchedulerHost() + ":" + this.getEventSupervisorSchedulerPort() + "]: " + errorText );
}
}
schedulerCommand.disconnect();
hwFile.close();
if (!eventFileCopy.delete()) {
this.getLogger().info("could not delete temporary working copy of event file, re-trying later");
eventFileCopy.deleteOnExit();