client: updating release.txt, updating command line help, catching slsDetectorUsers exception from multislsdetector constructor

This commit is contained in:
2018-08-21 18:49:29 +02:00
parent 4e446f1f39
commit 7945d15beb
5 changed files with 454 additions and 21 deletions

View File

@@ -6,10 +6,16 @@
using namespace std;
slsDetectorUsers::slsDetectorUsers(int id) : myDetector(NULL){
slsDetectorUsers::slsDetectorUsers(int id, int& ret) : myDetector(0), myCmd(0){
try {
myDetector=new multiSlsDetector(id);
} catch(...) {
ret = 1;
return;
}
myCmd=new multiSlsDetectorCommand(myDetector);
ret = 0;
myDetector=new multiSlsDetector(id);
myCmd=new multiSlsDetectorCommand(myDetector);
};