160161162163164165166167168169170
return defaultFolder() + location; } if (!existsInGivenLocation(location)) { throw new InvalidResourceLocation("Unable to locate " + location + ". " + "File does not exist also in default location " + defaultLocation()); } return location; }
179180181182183184185186187188
return false; } } catch (URISyntaxException e) { throw new InvalidResourceLocation("Unable to open resource file in " + location, e); } return true; }