/** \brief Exception handling standard UNIX errors (errno)
- This exception is thrown to signal generic errno failuers.
+ This exception is thrown to signal generic errno failures.
\todo make where and err accessors and make the member vars private
string and errno value as an argument and will throw a
corresponding template class instance. This would just be a
big switch statement containing all possible errno values,
- probably created using some makro metaprogramming.
+ probably created using some macro metaprogramming.
*/
class SystemException : public std::exception
{
public:
explicit SystemException(int err); ///< SystemException without error lokus info
- /**< \param[in] err errror number (the errno value) */
- SystemException(char const * where, int err); ///< SystemException with error lokus info
+ /**< \param[in] err error number (the errno value) */
+ SystemException(char const * where, int err); ///< SystemException with error location info
/**< \param[in] where description of error origin
\param[in] err error number (the errno value) */
std::string buffer_;
};
+ enum NoThrow_t { nothrow };
+
}
///////////////////////////////hh.e////////////////////////////////////////
// c-file-style: "senf"
// indent-tabs-mode: nil
// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
// End: