System.arraycopy(bundleIdentifiers, 0, completed, 0,
completed.length);
long[] remaining = new long[bundleIdentifiers.length - i - 1];
System.arraycopy(bundleIdentifiers, i + 1, remaining, 0,
remaining.length);
return new BundleBatchActionResult(e.toString(), completed,
bundleIdentifiers[i], remaining).asCompositeData();
} finally {
if (is != null) {
try {
is.close();
} catch (IOException e) {
}
}
}
}
return new BundleBatchActionResult().asCompositeData();
}