private void analyzeServerTerminationAndWriteFile(ServerStartCommandExecutor sce,String folder,String variableName,String workflowName,long phase,WorkflowTrace workflow) throws IOException, JAXBException {
  if (fuzzerConfig.containsServerCommand() && sce.isServerTerminated()) {
    interruptFuzzing=true;
    FileOutputStream fos=new FileOutputStream(folder + "/terminated" + variableName+ workflowName+ Long.toString(phase)+ ".xml");
    WorkflowTraceSerializer.write(fos,workflow);
    LOGGER.error(sce.getServerErrorOutputString());
    LOGGER.error(sce.getServerOutputString());
  }
}

private void analyzeServerTerminationAndWriteFile ( ServerStartCommandExecutor sce , String folder , String variableName , String workflowName , long phase , WorkflowTrace workflow ) throws IOException , JAXBException { if ( fuzzerConfig . containsServerCommand ( ) && sce . isServerTerminated ( ) ) { interruptFuzzing = true ; FileOutputStream fos = new FileOutputStream ( folder + "/terminated" + variableName + workflowName + Long . toString ( phase ) + ".xml" ) ; WorkflowTraceSerializer . write ( fos , workflow ) ; LOGGER . error ( sce . getServerErrorOutputString ( ) ) ; LOGGER . error ( sce . getServerOutputString ( ) ) ; } }
analyzes whether the server was terminated . if yes , the fuzzing is stopped
