catch(Exception e)
{
runResult.appendResult("RunResult", "ExceptionThrown");
runResult.setErrorMessage("exception raised -->" + e.toString());
Log.error(runResult.errorMessage());
e.printStackTrace();
}
try
{
SimpleFileIO.writeStringToTextFile(runResult.toString(), assignment.containerDirectory().getAbsolutePath() + File.separator + "runResult.txt");