[enh] fix issue 10688 - Misleading error message when attempting a "private override"

http://d.puremagic.com/issues/show_bug.cgi?id=10688