15#ifndef _RBTFILEERROR_H_
16#define _RBTFILEERROR_H_
18#include "rxdock/Error.h"
22const std::string IDS_FILE_ERROR =
"RBT_FILE_ERROR";
23const std::string IDS_FILE_READ_ERROR =
"RBT_FILE_READ_ERROR";
24const std::string IDS_FILE_WRITE_ERROR =
"RBT_FILE_WRITE_ERROR";
25const std::string IDS_FILE_PARSE_ERROR =
"RBT_FILE_PARSE_ERROR";
26const std::string IDS_FILE_MISSING_PARAMETER =
"RBT_FILE_MISSING_PARAMETER";
27const std::string IDS_DIR_NOACCESS =
"RBT_DIR_NOACCESS";
28const std::string IDS_NO_FILEINDIR =
"RBT_NO_FILEINDIR";
29const std::string IDS_NOENV =
"RBT_NO_ENVIRONMENT";
30const std::string IDS_STRINGTOOLONG =
"RBT_SRINGTOOLONG";
35 FileError(
const std::string &strFile,
int nLine,
36 const std::string &strMessage =
"")
37 :
Error(IDS_FILE_ERROR, strFile, nLine, strMessage) {}
40 FileError(
const std::string &strName,
const std::string &strFile,
int nLine,
41 const std::string &strMessage =
"")
42 :
Error(strName, strFile, nLine, strMessage) {}
49 const std::string &strMessage =
"")
50 :
FileError(IDS_FILE_READ_ERROR, strFile, nLine, strMessage) {}
57 const std::string &strMessage =
"")
58 :
FileError(IDS_FILE_WRITE_ERROR, strFile, nLine, strMessage) {}
65 const std::string &strMessage =
"")
66 :
FileError(IDS_FILE_PARSE_ERROR, strFile, nLine, strMessage) {}
73 const std::string &strMessage =
"")
74 :
FileError(IDS_FILE_MISSING_PARAMETER, strFile, nLine, strMessage) {}
83 const std::string &strMessage =
"")
84 :
FileError(IDS_DIR_NOACCESS, strFile, nLine, strMessage) {}
91 const std::string &strMessage =
"")
92 :
FileError(IDS_NO_FILEINDIR, strFile, nLine, strMessage) {}
101 const std::string &strMessage =
"")
102 :
FileError(IDS_NOENV, strFile, nLine, strMessage) {}
109 const std::string &strMessage =
"")
110 :
FileError(IDS_STRINGTOOLONG, strFile, nLine, strMessage) {}
Definition FileError.h:80
Definition FileError.h:98
Definition FileError.h:33
Definition FileError.h:70
Definition FileError.h:62
Definition FileError.h:46
Definition FileError.h:54
Definition FileError.h:88