소스 검색

This should fit better

Piotr Czajkowski 3 년 전
부모
커밋
4f36cda18d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();