From 89073d128aaf9e74986aed789fea242b0c3c1bb0 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Wed, 21 Sep 2016 21:12:08 +0200 Subject: [PATCH] Typo for 42fabf7 corrected. --- .../de/fabianonline/telegram_backup/exporter/HTMLExporter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/fabianonline/telegram_backup/exporter/HTMLExporter.java b/src/main/java/de/fabianonline/telegram_backup/exporter/HTMLExporter.java index 45a697d..c187087 100644 --- a/src/main/java/de/fabianonline/telegram_backup/exporter/HTMLExporter.java +++ b/src/main/java/de/fabianonline/telegram_backup/exporter/HTMLExporter.java @@ -26,6 +26,7 @@ import java.nio.charset.Charset; import java.io.FileWriter; import java.io.IOException; +import java.io.FileNotFoundException; import java.net.URL; import org.apache.commons.io.FileUtils; import java.util.LinkedList; @@ -140,7 +141,7 @@ public void export(UserManager user) { } } - private OutputStreamWriter getWriter(String filename) { + private OutputStreamWriter getWriter(String filename) throws FileNotFoundException { logger.trace("Creating writer for file {}", filename); return new OutputStreamWriter(new FileOutputStream(filename), Charset.forName("UTF-8").newEncoder()); }