C++ exceptions caught and turned into error codes. Also changed array to vector
C++ exceptions caught and turned into error codes. Also changed array to vector
beagle-dev/beagle-lib,beagle-dev/beagle-lib,beagle-dev/beagle-lib,beagle-dev/beagle-lib,beagle-dev/beagle-lib