mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 07:17:13 +02:00
moving SharedMemory into namespace sls
This commit is contained in:
@ -24,6 +24,10 @@
|
||||
#include <sys/types.h>
|
||||
#include <cassert>
|
||||
|
||||
using sls::SharedMemory;
|
||||
using sls::SharedMemoryError;
|
||||
using sls::RuntimeError;
|
||||
|
||||
#define DEFAULT_HOSTNAME "localhost"
|
||||
|
||||
slsDetector::slsDetector(detectorType type, int multiId, int id, bool verify)
|
||||
@ -290,7 +294,7 @@ void slsDetector::setDetectorSpecificParameters(detectorType type, detParameterL
|
||||
break;
|
||||
default:
|
||||
FILE_LOG(logERROR) << "Unknown detector type! " << type;
|
||||
throw std::exception();
|
||||
throw RuntimeError("Unknown detector type");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user