Added InsertFailedException

Change-Id: I12a18822c4f4ee2e8ea3cf950edba33fa53e59dc
Have insert in QueryInterface throw an exception rather then returning a boolean

Change-Id: I244983421b62e78658bfd726e704922ec68646f4
Merge changes I24498342,I12a18822

* changes:
  Have insert in QueryInterface throw an exception rather then returning a boolean
  Added InsertFailedException