0eb940012d
- Better handles unexpected exceptions - Expected exceptions should be OperationException - Leaves files unchanged even if the exception occurs at *any* point of the operation - TODO: Probably have to optimize this. - Operations now operate on IList<T> instead of List<T> to maintain compatibility with AvaloniaList<T> - Slightly better comments
12 lines
197 B
C#
12 lines
197 B
C#
using System;
|
|
|
|
namespace BFR.Operations
|
|
{
|
|
public class OperationException : Exception
|
|
{
|
|
public OperationException(string message) :
|
|
base(message)
|
|
{ }
|
|
}
|
|
}
|