1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Small javadoc fixes.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1856 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2003-03-24 14:53:55 +00:00 committed by mtucker
parent e1cc76c345
commit e5586093f0

View file

@ -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<parser.getAttributeCount(); i++) {
@ -495,7 +502,7 @@ class PacketReader {
* Parses a message packet.
*
* @param parser the XML parser, positioned at the start of a message packet.
* @return an Message object.
* @return a Message object.
* @throws Exception if an exception occurs while parsing the packet.
*/
private static Packet parseMessage(XmlPullParser parser) throws Exception {