Changeset 1892 for branches/eraser6/6.0


Ignore:
Timestamp:
04/10/10 01:27:57 (5 years ago)
Author:
lowjoel
Message:

Include the internal error when we are unable to lock a volume.

File:
1 edited

Legend:

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

    r1732 r1892  
    641641            { 
    642642                if (i > 100) 
    643                     throw new IOException("Could not lock volume."); 
     643                    throw new IOException("Could not lock volume.", 
     644                        KernelApi.GetExceptionForWin32Error(Marshal.GetLastWin32Error())); 
    644645                System.Threading.Thread.Sleep(100); 
    645646            } 
Note: See TracChangeset for help on using the changeset viewer.