private Exception GetCannotAllowContentTypeException() { return new InvalidOperationException(String.Format("Cannot allow ContentType on a {0}. Path: {1}", this.NodeType.Name, this.Path)); }