616617618619620621622623624625626
try { if (ex == null) { l.snapshotCreated(root); } else { l.snapshotFailed(ex.getMessage(), ex); } } finally { // clean up if (l instanceof ManagedSnapshotCreationWrapper) { dataService.removeObject(l);