Browse Source

This should fit better

Piotr Czajkowski 3 năm trước cách đây
mục cha
commit
4f36cda18d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      PSDText/PSDText.cs

+ 1 - 1
PSDText/PSDText.cs

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