jimu-decompiled/sources/com/ubtrobot/jimu/connection/RequestException.java
2025-05-13 19:24:51 +02:00

25 lines
738 B
Java

package com.ubtrobot.jimu.connection;
/* loaded from: classes2.dex */
public class RequestException extends Exception {
public static final int ERR_CODE_BT_NOT_CONNECTED = -1;
public static final int ERR_CODE_CMD_INVALID = -4;
public static final int ERR_CODE_TIMEOUT = -3;
public static final String ERR_MSG_CMD_TIMEOUT = "Send command timeout";
public static final String ERR_MSG_NOT_CONNECT = "Bluetooth not connected";
private final int mCode;
public RequestException(int i, String str) {
this(i, str, null);
}
public int getCode() {
return this.mCode;
}
public RequestException(int i, String str, Throwable th) {
super(str, th);
this.mCode = i;
}
}