26#define STRINGIFY(x) #x
27#define TOSTRING(x) STRINGIFY(x)
28#define AT __FILE__ ":" TOSTRING(__LINE__)
42 IOException(
const std::string& message=
"IOException occured",
const std::string& position=
"");
43 virtual const char*
what()
const noexcept override;
46 #if defined(__GLIBC__)
47 std::string resolveSymbols(
char *symbols,
const unsigned int& ii,
bool& found_main)
const;
61 const std::string& position=
"") :
IOException(
"NotFound: " + filename, position){}
73 const std::string& position=
"") :
IOException(
"InvalidAccess: " + filename, position){}
85 const std::string& position=
"") :
IOException(
"InvalidName: " + filename, position){}
97 const std::string& position=
"") :
IOException(
"InvalidFormat: " + message, position){}
109 const std::string& position=
"") :
IOException(
"IndexOutOfBounds: " + message, position){}
121 const std::string& position=
"") :
IOException(
"ConversionFailed: " + message, position){}
133 const std::string& position=
"") :
IOException(
"InvalidArgument: " + message, position){}
145 const std::string& position=
"") :
IOException(
"UnknownValue: " + message, position){}
158 const std::string& position=
"") :
IOException(
"NoData: " + message, position){}
168 const std::string& position=
"") :
IOException(
"NotFound: " + filename, position){}
thrown when a there are insufficient rights to access a file/server/... in a certain way (e....
Definition: IOExceptions.h:70
AccessException(const std::string &filename="", const std::string &position="")
Definition: IOExceptions.h:72
thrown when an unsuccessful attempt to convert data types/classes is made (e.g. attempt to convert a ...
Definition: IOExceptions.h:118
ConversionFailedException(const std::string &message="", const std::string &position="")
Definition: IOExceptions.h:120
The basic exception class adjusted for the needs of SLF software.
Definition: IOExceptions.h:40
IOException(const std::string &message="IOException occured", const std::string &position="")
Definition: IOExceptions.cc:108
std::string msg
Definition: IOExceptions.h:49
std::string full_output
Definition: IOExceptions.h:49
virtual const char * what() const noexcept override
Definition: IOExceptions.cc:142
thrown when an index is out of bounds
Definition: IOExceptions.h:106
IndexOutOfBoundsException(const std::string &message="", const std::string &position="")
Definition: IOExceptions.h:108
thrown when encountered an unexpected function's argument (e.g. bad index, bad or missing parameter n...
Definition: IOExceptions.h:130
InvalidArgumentException(const std::string &message="", const std::string &position="")
Definition: IOExceptions.h:132
thrown when a given filename/servername/... is not valid (e.g. "..", "." or empty)
Definition: IOExceptions.h:82
InvalidNameException(const std::string &filename="", const std::string &position="")
Definition: IOExceptions.h:84
thrown when no data is available
Definition: IOExceptions.h:155
NoDataException(const std::string &message="", const std::string &position="")
Definition: IOExceptions.h:157
thrown when a there is an unsuccessful attempt to locate a file/server/...
Definition: IOExceptions.h:58
NotFoundException(const std::string &filename="", const std::string &position="")
Definition: IOExceptions.h:60
thrown when an operation does not complete in the foreseen time
Definition: IOExceptions.h:165
TimeOutException(const std::string &filename="", const std::string &position="")
Definition: IOExceptions.h:167
thrown when encountered an unexpected value (e.g. unknown name or key)
Definition: IOExceptions.h:142
UnknownValueException(const std::string &message="", const std::string &position="")
Definition: IOExceptions.h:144