throw new SecurityViolation("Cannot change owner for:" + obj);
throw new SecurityViolation("Object locked! " + "Cannot change owner for:" + obj);
	protected boolean managedOwner(boolean locked, boolean privileged,			IObject obj, Details previousDetails, Details currentDetails,			Details newDetails) {		if (!idEqual(previousDetails.getOwner(), currentDetails.getOwner())) {			if (locked) {				throw new SecurityViolation("Cannot change owner for:" + obj);			}			// if the current user is an admin or if the entity has been			// marked privileged, then use the current owner.			else if (currentUserIsAdmin() || privileged) {				// even root can't set them to null.				if (currentDetails.getOwner() == null) {					newDetails.setOwner(previousDetails.getOwner());					return true;				}			}			// everyone else can't change them at all.			else {				throw new SecurityViolation(String.format(						"You are not authorized to change "								+ "the owner for %s from %s to %s", obj,						previousDetails.getOwner(), currentDetails.getOwner()));			}		}		else {			// values are the same. ensure they are the same for			// newDetails as well			newDetails.setOwner(previousDetails.getOwner());		}		return false;	}