Changeset 765
- Timestamp:
- 12/9/2008 9:34:08 AM (4 years ago)
- Location:
- branches/eraser6
- Files:
-
- 3 edited
-
DefaultPlugins/EraseCustom.cs (modified) (1 diff)
-
Manager/Method.cs (modified) (3 diffs)
-
Util/StreamInfo.cs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eraser6/DefaultPlugins/EraseCustom.cs
r561 r765 142 142 } 143 143 else 144 throw new NotImplementedException("The custom erasure method can only comprise " +144 throw new ArgumentException("The custom erasure method can only comprise " + 145 145 "passes containining constant or random passes"); 146 146 } -
branches/eraser6/Manager/Method.cs
r605 r765 385 385 public override long CalculateEraseDataSize(List<string> paths, long targetSize) 386 386 { 387 throw new NotImplementedException(S._("The DefaultMethod class should never " +387 throw new InvalidOperationException(S._("The DefaultMethod class should never " + 388 388 "be used and should instead be replaced before execution!")); 389 389 } … … 392 392 ProgressFunction callback) 393 393 { 394 throw new NotImplementedException(S._("The DefaultMethod class should never " +394 throw new InvalidOperationException(S._("The DefaultMethod class should never " + 395 395 "be used and should instead be replaced before execution!")); 396 396 } … … 400 400 /// A dummy method placeholder used for representing the default erase 401 401 /// method. Do not use this variable when trying to call the erase function, 402 /// this is just a placeholder and will throw a NotImplementedException.402 /// this is just a placeholder and will throw a InvalidOperationException. 403 403 /// </summary> 404 404 public static readonly ErasureMethod Default = new DefaultMethod(); -
branches/eraser6/Util/StreamInfo.cs
r556 r765 154 154 public override void Delete() 155 155 { 156 throw new NotImplementedException("Deleting streams are not implemented");156 throw new InvalidOperationException("Deleting streams are not implemented"); 157 157 } 158 158
Note: See TracChangeset
for help on using the changeset viewer.
