Skip to content

Commit 8f1837c

Browse files
Ranjan-DasguptaRanjan-Dasgupta
authored andcommitted
Change MQTTException to IOException
Signed-off-by: Ranjan-Dasgupta <Ranjan.Dasgupta@us.ibm.com>
1 parent 7c911f0 commit 8f1837c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal

org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal/CommsReceiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public void run() {
168168
} else {
169169
// fix for bug 719
170170
if (!clientComms.isConnected()) {
171-
throw new MqttException(MqttException.REASON_CODE_CONNECTION_LOST);
171+
throw new IOException(MqttException.REASON_CODE_CONNECTION_LOST);
172172
}
173173
}
174174
}

0 commit comments

Comments
 (0)