if(answer.startsWith(sigverstart)){
if(answer.endsWith(badend)){
errors += (String) answer.subSequence(sigverstart.length(), answer.lastIndexOf(badend)-1) + " ";
} else if(!answer.endsWith(okend)){
throw new UnknownCLException(unique, String.format(ExceptionString.UNKNOWNCLEXCEPTION.getExceptionString(), answer), report);
}
} else {
throw new UnknownCLException(unique, String.format(ExceptionString.UNKNOWNCLEXCEPTION.getExceptionString(), answer), report);
}
}
while((answer = ebr.readLine()) !=null){
report.reportDebugLog(unique, answer);
if(answer.startsWith(syntaxerror)){
throw new SyntaxError(unique, answer, report);
}
if(answer.startsWith(sigverstart) && answer.endsWith(badend)){
errors += (String) answer.subSequence(sigverstart.length(), answer.lastIndexOf(badend)-1);
errors.concat(" ");
} else {
throw new UnknownCLException(unique, String.format(ExceptionString.UNKNOWNCLEXCEPTION.getExceptionString(), answer), report);
}
}
} catch (IOException e) {
report.reportErrorLog(unique, String.format(ExceptionString.KEYNOTECLIOEXCEPTION.getExceptionString(), module));
closeIO(unique);