Ignore:
Timestamp:
11/11/2008 1:52:06 AM (5 years ago)
Author:
lowjoel
Message:

Throw specific exceptions when we have a Win32 error code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/Util/VolumeInfo.cs

    r489 r507  
    153153                        case 4390: 
    154154                            break; 
     155                        case 2: 
     156                            throw new FileNotFoundException(); 
    155157                        default: 
    156158                            throw new Win32Exception(Marshal.GetLastWin32Error()); 
Note: See TracChangeset for help on using the changeset viewer.