catching std::exception instead of openrave_exception because of shared obj