Changeset 2634


Ignore:
Timestamp:
05/22/12 07:44:47 (2 years ago)
Author:
lowjoel
Message:

Handle a NotSupportedEExceptions thrown from the erase code. This is because NotSupportedExceptions? will be thrown if we try to erase files on an unsupported file system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser/Eraser.Manager/Task.cs

    r2611 r2634  
    471471                        throw; 
    472472                    } 
     473                    catch (NotSupportedException e) 
     474                    { 
     475                        //This is thrown whenever we try to erase files on an unsupported 
     476                        //filesystem. 
     477                        Logger.Log(e.Message, LogLevel.Error); 
     478                    } 
    473479                    catch (SharingViolationException) 
    474480                    { 
Note: See TracChangeset for help on using the changeset viewer.