Throw when using invalid AnyObject
Throw when using invalid AnyObject

Change-Id: I4a8bc0a137b70fa9184518c8bb62021293a32693
Reviewed-on: http://gerrit.aldebaran.lan/33921
Reviewed-by: mnottale <e3ccf1b6558404e921a21fa09cebb1153b50ec36@aldebaran-robotics.com>
Tested-by: gerrit
Reviewed-by: pdaouadi <fc1eb3334d3fdad315bae23aa166bc70bd434067@aldebaran-robotics.com>

aldebaran/libqi,aldebaran/libqi,aldebaran/libqi,vbarbaresi/libqi,bsautron/libqi