From ad3b8a23d90476f856ee66e9c1d25d47b941e10b Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Sun, 18 Apr 2004 14:27:20 +0000 Subject: [PATCH] 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 --- source/org/jivesoftware/smack/SmackConfiguration.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/org/jivesoftware/smack/SmackConfiguration.java b/source/org/jivesoftware/smack/SmackConfiguration.java index f861dbd4c..a262342a9 100644 --- a/source/org/jivesoftware/smack/SmackConfiguration.java +++ b/source/org/jivesoftware/smack/SmackConfiguration.java @@ -121,6 +121,9 @@ public final class SmackConfiguration { } while (eventType != XmlPullParser.END_DOCUMENT); } + catch (Exception e) { + e.printStackTrace(); + } finally { try { systemStream.close();