17 #ifndef COM_BORA_SOFTWARE__BALAU_EXCEPTION__SYSTEM_EXCEPTIONS 18 #define COM_BORA_SOFTWARE__BALAU_EXCEPTION__SYSTEM_EXCEPTIONS 28 public:
int errorNumber;
32 const std::string & st,
34 const std::string & name)
36 , errorNumber(errorNumber_) {}
40 const std::string & st,
42 const std::string & name,
43 const std::string & message_)
45 , errorNumber(errorNumber_) {}
49 return typeid(lhs) ==
typeid(rhs) && lhs.
message == rhs.
message && lhs.errorNumber == rhs.errorNumber;
61 const std::string & st,
63 const std::string & message_)
64 :
ErrNoException(file, line, st, errorNumber_,
"Fork", message_) {}
73 const std::string & st,
75 const std::string & message_)
76 :
ErrNoException(file, line, st, errorNumber_,
"Wait", message_) {}
78 public:
WaitException(
const char * file,
int line,
const std::string & st,
int errorNumber_)
84 #endif // COM_BORA_SOFTWARE__BALAU_EXCEPTION__SYSTEM_EXCEPTIONS bool operator==(const BalauException &lhs, const BalauException &rhs)
Base class comparison function for Balau exceptions.
Definition: BalauException.hpp:112
All exception classes.
Definition: BalauException.hpp:50
Balau::U8String< AllocatorT > toString(const BalauException &e)
Base class toString<AllocatorT> function for Balau exceptions.
Definition: BalauException.hpp:122
Abstract base class of exceptions that report errno.
Definition: SystemExceptions.hpp:27
const std::string message
The message.
Definition: BalauException.hpp:59
Thrown when a fork call fails.
Definition: SystemExceptions.hpp:58
Base Balau exception classes.
Thrown when a wait call fails.
Definition: SystemExceptions.hpp:70
Base class of all Balau exceptions.
Definition: BalauException.hpp:55