Create the corresponding instance of PosixException with error message provided by the underlying POSIX implementation.