Changeset 2654


Ignore:
Timestamp:
5/24/2012 3:05:05 AM (3 years ago)
Author:
lowjoel
Message:

Handle situations where the directory we are erasing is deleted before we can securely erase it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.DefaultPlugins/ErasureTargets/FolderErasureTarget.cs

    r2653 r2654  
    280280                        DeleteFolder(info, true); 
    281281                } 
     282                catch (DirectoryNotFoundException) 
     283                { 
     284                    Logger.Log(new LogEntry(S._("The folder {0} could not be erased because " + 
     285                        "the containing directory was deleted before it could be erased.", 
     286                        info.FullName), LogLevel.Error)); 
     287                } 
    282288                catch (UnauthorizedAccessException) 
    283289                { 
Note: See TracChangeset for help on using the changeset viewer.