throw a constraint violation when modifying a protected property