From: David ‘Bombe’ Roden Date: Wed, 12 Oct 2011 04:43:48 +0000 (+0200) Subject: Add javadoc for exception. X-Git-Tag: 0.7.3^2~20 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f2a93c6c489570578a564fa3f4fa262d21b171a2;p=Sone.git Add javadoc for exception. --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java index 9c8bbf0..b085ade 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneDownloader.java @@ -219,6 +219,8 @@ public class SoneDownloader extends AbstractService { * @param soneInputStream * The input stream to parse the Sone from * @return The parsed Sone + * @throws SoneException + * if a parse error occurs, or the protocol is invalid */ public Sone parseSone(Sone originalSone, InputStream soneInputStream) throws SoneException { /* TODO - impose a size limit? */