Throw exception from entity createfromdata