moved NdexException to object model.