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