Changeset 1767 for branches/eraser6/CodeReview/Eraser.Manager/Method.cs
- Timestamp:
- 2/8/2010 7:09:55 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/CodeReview/Eraser.Manager/Method.cs
r1681 r1767 378 378 public override long CalculateEraseDataSize(ICollection<string> paths, long targetSize) 379 379 { 380 throw new InvalidOperationException( S._("The DefaultMethod class should never " +381 "be used and should instead be replaced before execution!") );380 throw new InvalidOperationException("The DefaultMethod class should never " + 381 "be used and should instead be replaced before execution!"); 382 382 } 383 383 … … 385 385 ErasureMethodProgressFunction callback) 386 386 { 387 throw new InvalidOperationException( S._("The DefaultMethod class should never " +388 "be used and should instead be replaced before execution!") );387 throw new InvalidOperationException("The DefaultMethod class should never " + 388 "be used and should instead be replaced before execution!"); 389 389 } 390 390 } … … 473 473 //Check for a valid constructor. 474 474 if (ctor == null) 475 throw new ArgumentException( S._("Registered erasure methods must contain " +475 throw new ArgumentException("Registered erasure methods must contain " + 476 476 "a parameterless constructor that is called whenever clients request " + 477 477 "for an instance of the method. If a constructor requires parameters, " + 478 "specify it in the parameters parameter.") );478 "specify it in the parameters parameter."); 479 479 480 480 //Insert the entry … … 498 498 { 499 499 if (!ManagerLibrary.Instance.ErasureMethodManager.methods.ContainsKey(value)) 500 throw new ArgumentException( S._("The GUID of the erasure method to remove " +501 "refers to an invalid erasure method.") );500 throw new ArgumentException("The GUID of the erasure method to remove " + 501 "refers to an invalid erasure method."); 502 502 503 503 ManagerLibrary.Instance.ErasureMethodManager.methods.Remove(value);
Note: See TracChangeset
for help on using the changeset viewer.
