} catch (PathNotFoundException e) {
throw new RuntimeException(e);
} catch (LockException e) {
throw new ObjectLockedException(storedFile);
} catch (ItemExistsException e) {
throw new ObjectExistsException(storedFile);
} catch (RepositoryException e) {
throw new RuntimeException(e);
}
}