Raise an error if some data have been not processed correctly. Thanks to...

... Daniel for his help for doing this improvement (I just copy paste from his mail)