FEU2Exception                              

This structure is use by FesfUtil2 to describe errors encountered during processing.

The primary purpose of this structure is to convey either a Win32 or, more rarely, an internal NTSTATUS value and its meaning to the caller.

Methods

Win32Error

Returns a DWORD containing the Win32 Error Value indicating the error that FesfUtil2 encountered during processing.

NtStatus

Returns a DWORD containing a native, Windows kernel-mode, NTSTATUS value indicating the error that FesfUtil2 encountered during processing.

IsNativeError

Returns a bool indicating whether the error value being returned is an NTSTATUS (IsNativeError is set to true) or is a Win32 error (IsNativeError is set to false).

GetMessageString

Returns an std::string with the text of the error message, suitable for direct output or logging. The Win32 error code and (if applicable) the NTSTATUS value are also displayed as part of the output.

what

Returns a pointer to a null-terminated const char string with the text of the error message, suitable for direct output or logging. The Win32 error code and (if applicable) the NTSTATUS value are also displayed as part of the output.  The only difference between the values returned by the what() and GetMessageString() methods is the format of the output. The contents of the strings is identical.