Files
duplicati/Duplicati/Library/Snapshots/FileHasChangedException.cs
T
kenneth.skovhede@gmail.com dd44e684d1 Update issue #32
Status: Fixed

USN is now activated by default on windows, but requires Administrative privileges.
If it fails to activate, it is silently ignored, and normal filesystem enumeration is used.
Set --usn-policy to:
"on" to get a warning if it fails,
"required" to abort the backup if it fails
"off" to disable USN
"auto" to silently ignore a fail


git-svn-id: https://duplicati.googlecode.com/svn/trunk@584 59da171f-624f-0410-aa54-27559c288bec
2010-11-17 19:45:25 +00:00

23 lines
557 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Duplicati.Library.Snapshots
{
/// <summary>
/// A helper exception to indicate a file-change error
/// </summary>
public class FileHasChangedException : System.IO.IOException
{
public FileHasChangedException(string message)
: base(message)
{
}
public FileHasChangedException(string message, Exception innerException)
: base(message, innerException)
{
}
}
}