C bindings: Catch exceptions from C++ and set error correctly.
C bindings: Catch exceptions from C++ and set error correctly.

Change-Id: Iddb025e4a82571cdb30b9265c70791d9cb5312ab
Reviewed-on: http://gerrit.aldebaran.lan:8080/12236
Tested-by: proullon <ffff9135679d397f48dd743107119b1f6fc32d3d@aldebaran-robotics.com>
Reviewed-by: ncornu <13ba26b8f12d26c819f48749c65f2f7f5c1d13db@aldebaran-robotics.com>

aldebaran/libqi-java,aldebaran/libqi-java,aldebaran/libqi,aldebaran/libqi-java,aldebaran/libqi,bsautron/libqi,vbarbaresi/libqi,aldebaran/libqi