When a call by the
implementation to an operating system or other underlying API results in an
error that prevents the function from meeting its specifications, an exception
shall be thrown.
For functions with a single path
argument, that argument shall be passed to the
constructor with a single path argument.
functions with two path arguments, the first of these arguments shall be
passed to the
constructor as the path1
and the second shall be passed as the path2
is set as appropriate for the specific operating system dependent error.