From 83cca75df6503506068782bb1a2588c44c62365a Mon Sep 17 00:00:00 2001 From: Shabirmean Date: Fri, 8 Jan 2016 12:07:19 +0530 Subject: [PATCH] Removed unnecessary code block --- .../mgt/iot/transport/mqtt/MQTTTransportHandler.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/components/device-mgt-iot/org.wso2.carbon.device.mgt.iot/src/main/java/org/wso2/carbon/device/mgt/iot/transport/mqtt/MQTTTransportHandler.java b/components/device-mgt-iot/org.wso2.carbon.device.mgt.iot/src/main/java/org/wso2/carbon/device/mgt/iot/transport/mqtt/MQTTTransportHandler.java index 5f3c54a439..a365d6d15e 100644 --- a/components/device-mgt-iot/org.wso2.carbon.device.mgt.iot/src/main/java/org/wso2/carbon/device/mgt/iot/transport/mqtt/MQTTTransportHandler.java +++ b/components/device-mgt-iot/org.wso2.carbon.device.mgt.iot/src/main/java/org/wso2/carbon/device/mgt/iot/transport/mqtt/MQTTTransportHandler.java @@ -316,13 +316,6 @@ public abstract class MQTTTransportHandler log.debug("Got an MQTT message '" + mqttMessage.toString() + "' for topic '" + topic + "'."); } - - try { - throw new DeviceManagementException("Test Exception"); - } catch (DeviceManagementException e) { - e.printStackTrace(); - } - Thread messageProcessorThread = new Thread() { public void run() { try {