Explorar o código

This should fit better

Piotr Czajkowski %!s(int64=3) %!d(string=hai) anos
pai
achega
4f36cda18d
Modificáronse 1 ficheiros con 1 adicións e 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();