Prints an exception to the console in case an error occurs while parsing the document

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2296 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2004-04-18 14:27:20 +00:00 committed by gdombiak
parent 07c6a12f97
commit ad3b8a23d9
1 changed files with 3 additions and 0 deletions

View File

@ -121,6 +121,9 @@ public final class SmackConfiguration {
}
while (eventType != XmlPullParser.END_DOCUMENT);
}
catch (Exception e) {
e.printStackTrace();
}
finally {
try {
systemStream.close();