From: David ‘Bombe’ Roden Date: Tue, 11 Oct 2011 19:29:58 +0000 (+0200) Subject: Declare exception to be thrown. X-Git-Tag: 0.7.3^2~21 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c8944bfc100b1dde9d57de005b6d3387d62afa8b;p=Sone.git Declare exception to be thrown. --- 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;