#include <ErrnoException.h> classCErrnoException{CErrnoException(const pszAction);CErrnoException(const std::string& rsAction);virtual const const char* ReasonText();virtual const Int_t ReasonCode();};
This exception class wraps the Unix errno global variable.
errno is used by most Unix system calls to provide detailed status
information. Constructing this class saves a copy of the errno
variable. ReasonCode will return the saved errno value.
ReasonText will construct a string that includes
the text associated with the errno.
CErrnoException(const pszAction);
CErrnoException(const std::string& rsAction);
These constructors save the value of the errno variable and
construct the base class using their parameter as the exception context string
(returned by WasDoing).
virtual const const char* ReasonText();
Returns the sterror applied to the saved errno.
virtual const Int_t ReasonCode();
Returns the saved errno variable value.