Browse Source

This should fit better

Piotr Czajkowski 3 years ago
parent
commit
4f36cda18d
1 changed files with 1 additions and 1 deletions
  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();