The Win32Exception class contains the following methods:
getErrorCode retrieves the error code associated with the Win32Exception object. getErrorDescription retrieves the error description associated with a Win32 error code.