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:
l_maliakal_d
2013-05-08 17:31:37 +00:00
parent 5e7d22357e
commit 1e7dfcb6ad
2 changed files with 15 additions and 4 deletions

View File

@ -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;
}