diff --git a/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java b/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java index ae51e2f4b..5f8845e4b 100644 --- a/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java +++ b/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java @@ -566,11 +566,8 @@ public class SmackIntegrationTestFramework { return connection; } - private static Exception throwFatalException(Throwable e) throws Error, NotConnectedException, NoResponseException, + private static Exception throwFatalException(Throwable e) throws Error, NoResponseException, InterruptedException { - if (e instanceof NotConnectedException) { - throw (NotConnectedException) e; - } if (e instanceof NoResponseException) { throw (NoResponseException) e; }