Commit 48ea0e2
committed
Add InvalidPathException handling on file open
When you open a PdfFile with an invalid path, it could cause an
InvalidPathException instead of the NoSuchFileException, as it uses the
newer toPath methods within PdfFile. In such cases there would be no
feedback in the UI and just nothing would happen. Now it should behave
like expected.1 parent 4929dde commit 48ea0e2
File tree
1 file changed
+3
-2
lines changed- src/main/java/com/itextpdf/rups/controller
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
199 | | - | |
200 | | - | |
| 200 | + | |
| 201 | + | |
201 | 202 | | |
202 | 203 | | |
203 | 204 | | |
| |||
0 commit comments