Piotr Czajkowski 4 жил өмнө
parent
commit
4f36cda18d

+ 1 - 1
PSDText/PSDText.cs

@@ -81,7 +81,7 @@ namespace PSDText
         public PSDText(string path)
         public PSDText(string path)
         {
         {
             if (!File.Exists(path))
             if (!File.Exists(path))
-                throw new Exception($"File {path} doesn't exist!");
+                throw new FileNotFoundException($"File {path} doesn't exist!");
 
 
             _xmlData = Readxmpmeta(path);
             _xmlData = Readxmpmeta(path);
             AddXMLNamespaces();
             AddXMLNamespaces();