CFileException::ThrowErrno

static void PASCAL ThrowErrno( int nErrno );

Parameters

nErrno

An integer error code as defined in the run-time include file ERRNO.H.

Remarks

Constructs a CFileException object corresponding to a given nErrno value, then throws the exception.

Example

//example for CFileException::ThrowErrno
#include <errno.h>
CFileException::ThrowErrno( EACCES );  // "access denied"

CFileException OverviewClass MembersHierarchy Chart

See Also   CFileException::ThrowOsError