BundleStorageLogBuilder bslb = new BundleStorageLogBuilder(); error.append(resourcePath); error.append("' is wrongly formatted for the following reason: " + e.getMessage()); bslb.error("Wrong bundle format:", error.toString()); if (bslb.hasError()) { throw new DandelionException(bslb.toString());
log.error("- Empty bundle", "[" + bsu.getName() + "] The bundle \"" + bsu.getName() + "\" is empty. You would better remove it."); isValid = false; log.error("- Missing asset location(s)", "[" + bsu.getName() + "] The bundle contain asset with no location whereas it is required."); isValid = false; log.error( "- Missing location key", "[" log.error("- Missing asset location", "[" + bsu.getName() + "] One of the assets contained in the bundle \"" + bsu.getName() + "\" has an empty location. Please correct it before continuing."); log.error("- Missing extension", "[" + bsu.getName() + "] The extension is required in all locations."); isValid = false; log.error("- Missing name", "[" + bsu.getName() + "] Assets configured with the \"" + ApiLocator.LOCATION_KEY + "\" location key must have an explicit name"); isValid = false; log.error("- Missing type", "[" + bsu.getName() + "] Assets configured with the \"" + ApiLocator.LOCATION_KEY + "\" location key must have an explicit type"); isValid = false;
BundleStorageLogBuilder bslb = new BundleStorageLogBuilder(); error.append(resourcePath); error.append("' is wrongly formatted for the following reason: " + e.getMessage()); bslb.error("Wrong bundle format:", error.toString()); if (bslb.hasError()) { throw new DandelionException(bslb.toString());
log.error("- Empty bundle", "[" + bsu.getName() + "] The bundle \"" + bsu.getName() + "\" is empty. You would better remove it."); isValid = false; log.error("- Missing asset location(s)", "[" + bsu.getName() + "] The bundle contain asset with no location whereas it is required."); isValid = false; log.error( "- Missing location key", "[" log.error("- Missing asset location", "[" + bsu.getName() + "] One of the assets contained in the bundle \"" + bsu.getName() + "\" has an empty location. Please correct it before continuing."); log.error("- Missing extension", "[" + bsu.getName() + "] The extension is required in all locations."); isValid = false; log.error("- Missing name", "[" + bsu.getName() + "] Assets configured with the \"" + ApiLocator.LOCATION_KEY + "\" location key must have an explicit name"); isValid = false; log.error("- Missing type", "[" + bsu.getName() + "] Assets configured with the \"" + ApiLocator.LOCATION_KEY + "\" location key must have an explicit type"); isValid = false;