diff --git a/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java b/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java index f0061dd2c..7065231fe 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/AbstractXMPPConnection.java @@ -957,10 +957,6 @@ public abstract class AbstractXMPPConnection implements XMPPConnection { stanza = PacketParserUtils.parseStanza(parser); } catch (Exception e) { - // Always re-throw runtime exceptions, they are fatal - if (e instanceof RuntimeException) { - throw (RuntimeException) e; - } CharSequence content = PacketParserUtils.parseContentDepth(parser, parserDepth); UnparsablePacket message = new UnparsablePacket(content, e);