{
if (LOGGER.isLoggable(Level.FINE)) LOGGER.fine(properties.toString() + " exists, will delete");
if (!properties.delete())
{
PapooseException pe = new PapooseException("Unable to delete properties file");
LOGGER.throwing(CLASS_NAME, "clear", pe);
throw pe;
}
}
File bundleRoot = FileUtils.buildPath(root, BUNDLES_DIR);
if (bundleRoot.exists())
{
if (LOGGER.isLoggable(Level.FINE)) LOGGER.fine(bundleRoot.toString() + " exists, will delete");
if (!FileUtils.delete(bundleRoot))
{
PapooseException pe = new PapooseException("Unable to delete properties file");
LOGGER.throwing(CLASS_NAME, "clear", pe);
throw pe;
}
}