Replaced object load and update with direct HQL execution to resolve database locks...
[pithos-ms-client] / trunk / Pithos.Core / NativeMethods.cs
index 0245ab8..56bba53 100644 (file)
@@ -283,7 +283,7 @@ namespace Pithos.Core
                 throw new ArgumentNullException("path", "The path parameter must not be emtpy");
 
             if (!Directory.Exists(path) && !File.Exists(path))
-                throw new FileNotFoundException("The specified file or path does not exist", path);
+                return;
 
 
             IntPtr pathPointer = Marshal.StringToCoTaskMemAuto(path);