diff --git a/.vs/EasMe/FileContentIndex/87a55bf5-5e09-4452-924a-1fc12455d1e8.vsidx b/.vs/EasMe/FileContentIndex/87a55bf5-5e09-4452-924a-1fc12455d1e8.vsidx new file mode 100644 index 00000000..180d6b77 Binary files /dev/null and b/.vs/EasMe/FileContentIndex/87a55bf5-5e09-4452-924a-1fc12455d1e8.vsidx differ diff --git a/.vs/EasMe/FileContentIndex/d895792f-b99b-41df-9ea0-d87b308745f4.vsidx b/.vs/EasMe/FileContentIndex/d895792f-b99b-41df-9ea0-d87b308745f4.vsidx deleted file mode 100644 index 3a9102ac..00000000 Binary files a/.vs/EasMe/FileContentIndex/d895792f-b99b-41df-9ea0-d87b308745f4.vsidx and /dev/null differ diff --git a/EasMe/EasFile.cs b/EasMe/EasFile.cs index b845ed30..4a44fd43 100644 --- a/EasMe/EasFile.cs +++ b/EasMe/EasFile.cs @@ -43,7 +43,7 @@ public static void DeleteAll(string filePath, bool isLoggingEnabled = true) } else { - throw new EasException("File or folder does not exist => Path: " + filePath); + throw new EasException("Error in DeleteAll: Given File or folder does not exist => Path: " + filePath); } @@ -106,7 +106,7 @@ public static void MoveAll(string sourcePath, string destPath,bool overwrite, bo } else { - throw new EasException("Given source path not exist."); + throw new EasException("Error in MoveAll: Given source path not exist."); //if (isLoggingEnabled) EasLog.Error("Error while moving file. File or Directory not exist => Source:" + sourcePath + " Destination: " + destPath); } } @@ -157,17 +157,17 @@ public static void CopyAll(string sourcePath, string destPath, bool overwrite, b try { File.Copy(sourcePath, destPath + "\\" + Path.GetFileName(sourcePath), true); - if (isLoggingEnabled) EasLog.Info("File moved => Source: " + sourcePath + " Destination: " + destPath); + if (isLoggingEnabled) EasLog.Info("File copying => Source: " + sourcePath + " Destination: " + destPath); } catch (Exception ex) { - if (isLoggingEnabled) EasLog.Exception("Error while moving file => Source:" + sourcePath + " Destination: " + destPath, ex); + if (isLoggingEnabled) EasLog.Exception("Error while copying file => Source:" + sourcePath + " Destination: " + destPath, ex); } } else { - throw new EasException("Given source path not exist."); + throw new EasException("Error in CopyAll: Given source path not exist."); } }