diff --git a/example/mica-mqtt-example/src/main/java/net/dreamlu/iot/mqtt/client/MqttClientConnTest.java b/example/mica-mqtt-example/src/main/java/net/dreamlu/iot/mqtt/client/MqttClientConnTest.java index 0a3cf99a..681b0055 100644 --- a/example/mica-mqtt-example/src/main/java/net/dreamlu/iot/mqtt/client/MqttClientConnTest.java +++ b/example/mica-mqtt-example/src/main/java/net/dreamlu/iot/mqtt/client/MqttClientConnTest.java @@ -26,7 +26,7 @@ */ public class MqttClientConnTest { - public static void main(String[] args) throws Exception { + public static void main(String[] args) { // 初始化 mqtt 客户端 MqttConnectReasonCode reasonCode = MqttClient.create() // .ip("127.0.0.1")