// CHECK REGISTRY:
// ensure the object doesn't already exist
if (objectExists(obj.getPid())) {
releaseWriteLock(obj.getPid());
throw new ObjectExistsException("The PID '" + obj.getPid() +
"' already exists in the registry; the object can't be re-created.");
}
// GET DIGITAL OBJECT WRITER:
// get an object writer configured with the DEFAULT export