.append("\r\n");
}
}
catch (Exception e)
{
throw new DataSetLoadingException("Failed loading script " + location, e);
}
finally
{
if (reader != null)
{
try
{
reader.close();
}
catch (IOException e)
{
throw new DataSetLoadingException("Unable to close script.", e);
}
}
}
return builder.toString();