From c8944bfc100b1dde9d57de005b6d3387d62afa8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 11 Oct 2011 21:29:58 +0200 Subject: [PATCH] Declare exception to be thrown. --- src/main/java/net/pterodactylus/sone/core/SoneDownloader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java index 014e252..9c8bbf0 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java @@ -220,7 +220,7 @@ public class SoneDownloader extends AbstractService { * The input stream to parse the Sone from * @return The parsed Sone */ - public Sone parseSone(Sone originalSone, InputStream soneInputStream) { + public Sone parseSone(Sone originalSone, InputStream soneInputStream) throws SoneException { /* TODO - impose a size limit? */ Document document; -- 2.7.4