ItemData me = conn.getItemData(item.getIdentifier());
if (me != null)
{
// item already exists
message.append("Item already exists in storage: ").append(itemInfo);
ownException = new JCRItemExistsException(message.toString(), me.getIdentifier(), ItemState.ADDED, e);
throw ownException;
}
me =
conn.getItemData(parent, new QPathEntry(item.getQPath().getName(), item.getQPath().getIndex()),
ItemType.getItemType(item));
if (me != null)
{
message.append("Item already exists in storage: ").append(itemInfo);
ownException = new JCRItemExistsException(message.toString(), me.getIdentifier(), ItemState.ADDED, e);
throw ownException;
}
}
catch (Exception ep)