if(!this.isItem(item)){ throw new Error("dojo.data.OpmlStore: a function was passed an item argument that was not an item"); }