mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 23:37:14 +02:00
error when file path doesnt exist
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@547 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -32,6 +32,7 @@ using namespace std;
|
||||
#define COULD_NOT_CONFIGURE_MAC 0x0000000000000001ULL
|
||||
#define COULDNOT_SET_NETWORK_PARAMETER 0x0000000000000002ULL
|
||||
#define COULDNOT_SET_ROI 0x0000000000000004ULL
|
||||
#define FILE_PATH_DOES_NOT_EXIST 0x0000000000000008ULL
|
||||
|
||||
|
||||
/** @short class returning all error messages for error mask */
|
||||
@ -77,6 +78,9 @@ public:
|
||||
if(slsErrorMask&COULDNOT_SET_ROI)
|
||||
retval.append("Could not set the exact region of interest. Verify ROI set by detector.\n");
|
||||
|
||||
if(slsErrorMask&FILE_PATH_DOES_NOT_EXIST)
|
||||
retval.append("File Path does not exist.\n");
|
||||
|
||||
return retval;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user