From e5586093f0b4b4f70029cf50349a0c41208f2007 Mon Sep 17 00:00:00 2001 From: Matt Tucker Date: Mon, 24 Mar 2003 14:53:55 +0000 Subject: [PATCH] Small javadoc fixes. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1856 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/PacketReader.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smack/PacketReader.java b/source/org/jivesoftware/smack/PacketReader.java index 353808725..a6aa87aee 100644 --- a/source/org/jivesoftware/smack/PacketReader.java +++ b/source/org/jivesoftware/smack/PacketReader.java @@ -475,6 +475,13 @@ class PacketReader { return registration; } + /** + * Parses error sub-packets. + * + * @param parser the XML parser. + * @return an error sub-packet. + * @throws Exception if an exception occurs while parsing the packet. + */ private static XMPPError parseError(XmlPullParser parser) throws Exception { String errorCode = null; for (int i=0; i