Explorar el Código

This should fit better

Piotr Czajkowski hace 3 años
padre
commit
4f36cda18d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();