class XGPostUnixOSError

Declared in <XError.h>
Declared from XGPostError

Post a Unix OS Error. This gets the error string from the Posix function ::strerror(), and assumes the error message is derived from errno.


Public Methods

XGPostUnixOSError::GetErrorString
XGPostUnixOSError::GetLongError

Constructors/Destructors

XGPostUnixOSError::XGPostUnixOSError


Public Methods

XGPostUnixOSError::GetErrorString

Usage: void XGPostUnixOSError::GetErrorString(int err,char*str)

Get the error string. Looks up the error message associated with this Microsoft Windows specific OS error.

XGPostUnixOSError::GetLongError

Usage: void XGPostUnixOSError::GetLongError(char*dest)

Get the message string. This actually looks up the error message that was passed in the constructor and appends it to the error description.

Constructors/Destructors

XGPostUnixOSError::XGPostUnixOSError

Usage: void XGPostMacOSError::GetErrorString(OSErr err,char*str)

Create this error, appending the OS Error string to the message passed to me