1#ifndef OKSSYSTEM_EXCEPTIONS_H
2#define OKSSYSTEM_EXCEPTIONS_H
24 "Object \"" << name << "\" not found",
32 " (Error code = " <<
error << ")",
40 "Request for allocating " << size << " bytes of memory fails",
48 "Execution of the \"" << command << "\" command fails with " << status << " status",
50 ((const
char *)command )
57 "Process terminated with the " << status << " status",
65 "Process has been terminated by the " << signal << " signal",
73 "User with (name:
id)=(" << name << ":" <<
id << ") does not exist",
82 "
OksSystem call \"" << name << "\" fails " << action,
85 ((const
char *)action )
91 "Can not open file \"" << name << "\"",
99 "Can not read from file \"" << name << "\"",
101 ((const
char *)name )
107 "Can not write to file \"" << name << "\"",
109 ((const
char *)name )
115 "Can not close file \"" << name << "\"",
117 ((const
char *)name )
123 "Can not remove file \"" << name << "\"",
125 ((const
char *)name )
131 "Can not rename file \"" << source << "\" to file \"" << dest << "\"",
133 ((const
char *)source )
134 ((const
char *)dest )
137#define OKSSYSTEM_ALLOC_CHECK( p, size ) \
138{ if(0==p) throw OksSystem::AllocIssue( ERS_HERE, errno, size ); }
#define ERS_DECLARE_ISSUE_BASE(namespace_name, class_name, base_class_name, message, base_attributes, attributes)
#define ERS_DECLARE_ISSUE(namespace_name, class_name, message, attributes)
Factory couldn t std::string alg_name Invalid configuration error