throws ActivityProcessingException,
ActivityTerminatedException,
ActivityUserException
{
// Get resource group resource ID.
ResourceID resourceID;
if (iterationData[0] == null)
{
// Create new.
resourceID = mResourceManager.createUniqueID();
}
else
{
// Use one given as input.
resourceID = new ResourceID((String)iterationData[0]);
}
// Create data cache resource from template.
try
{
FileDataCacheResource dataCache =