return populateDirectoryPurgeConfiguration( continuum.getPurgeConfigurationService().
addDirectoryPurgeConfiguration( populateDirectoryPurgeConfiguration( dirPurge, newPurge ) ) );
}
catch ( RepositoryServiceException e )
{
throw new ContinuumException( "Error while converting directory purge configuration", e );
}
catch ( PurgeConfigurationServiceException e )
{
throw new ContinuumException( "Can't add directory purge configuration", e );
}
}