Declare exception to be thrown.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 11 Oct 2011 19:29:58 +0000 (21:29 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 11 Oct 2011 19:29:58 +0000 (21:29 +0200)
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java

index 014e252..9c8bbf0 100644 (file)
@@ -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;