42 const std::string& message)
63 const std::string& filename,
64 const std::string& message)
68 m_message =
"Parameter file \""+filename+
"\" not found. "
69 "Make sure that PFILES environment variable is set "
73 if (message.length() > 0) {
90 const std::string& filename,
91 const std::string& message)
95 m_message =
"Unable to open parameter file \""+filename+
"\".";
98 if (message.length() > 0) {
114 const std::string& message)
118 m_message =
"Unable to determine users home directory.";
121 if (message.length() > 0) {
138 const std::string& home,
139 const std::string& message)
143 m_message =
"Unable to create \""+home+
"\".";
146 if (message.length() > 0) {
163 const std::string& home,
164 const std::string& message)
168 m_message =
"Could not make \""+home+
"\" write accessible for "
169 "writing of the applications parameter file.";
172 if (message.length() > 0) {
189 const std::string& line,
190 const std::string& message)
194 if (message.length() > 0) {
195 m_message =
"Syntax error occured in the following line of the "
196 "parameter file ("+message+
"): "+line;
199 m_message =
"Syntax error occured in the following line of the "
200 "parameter file: "+line;
216 const std::string& name,
217 const std::string& message)
226 if (message.length() > 0) {
243 const std::string& arg,
244 const std::string& message)
248 if (message.length() > 0) {
249 m_message =
"Invalid command line parameter encountered ("+message+
253 m_message =
"Invalid command line parameter encountered: "+arg;
pfiles_not_accessible(const std::string &origin, const std::string &home, const std::string &message="")
Unable to change access rights for pfiles directory.
could_not_create_pfiles(const std::string &origin, const std::string &home, const std::string &message="")
Unable to create pfiles directory in users home directory.
par_file_syntax_error(const std::string &origin, const std::string &home, const std::string &message="")
Syntax error encountered in parameter file line.
par_error(const std::string &origin, const std::string &name, const std::string &message="")
Error encountered in parameter definition.
home_not_found(const std::string &origin, const std::string &message="")
Unable to determine users home directory.
bad_cmdline_argument(const std::string &origin, const std::string &arg, const std::string &message="")
Invalid command line parameter.
app_error(const std::string &origin, const std::string &message="")
Generic application error.
Exception handler interface definition.
par_file_open_error(const std::string &origin, const std::string &filename, const std::string &message="")
Unable to open parameter file.
par_file_not_found(const std::string &origin, const std::string &filename, const std::string &message="")
Parameter file not found.