Ignore:
Timestamp:
2/8/2010 7:09:55 AM (2 years ago)
Author:
lowjoel
Message:

Do not localise exceptions which aren't meant to be seen by the user. User-visible exceptions will be dealt with in a separate ticket. Do not throw exceptions to indicate handleable errors (notably, when erasing unused space without administrator permissions) Addresses #275: Code Review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/CodeReview/Eraser.DefaultPlugins/ErasureMethods/FirstLast16KB.cs

    r1745 r1767  
    110110            //less. 
    111111            if (erasureLength != long.MaxValue) 
    112                 throw new ArgumentException(S._("The amount of data erased should not be " + 
    113                     "limited, since this is a self-limiting erasure method.")); 
     112                throw new ArgumentException("The amount of data erased should not be " + 
     113                    "limited, since this is a self-limiting erasure method."); 
    114114 
    115115            //If the target stream is shorter than or equal to 32kb, just forward it to 
Note: See TracChangeset for help on using the changeset viewer.