public abstract class BLEException
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
ERR_CODE_GATT |
static int |
ERR_CODE_OPERATION |
static int |
ERR_CODE_OTHER |
static int |
ERR_CODE_PROPERTY |
static int |
ERR_CODE_SCAN_FAILED |
static int |
ERR_CODE_TIMEOUT |
| Constructor and Description |
|---|
BLEException(int code,
java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
java.lang.String |
getMessage() |
BLEException |
setCode(int code) |
BLEException |
setMessage(java.lang.String message) |
java.lang.String |
toString() |
public static final int ERR_CODE_TIMEOUT
public static final int ERR_CODE_GATT
public static final int ERR_CODE_SCAN_FAILED
public static final int ERR_CODE_PROPERTY
public static final int ERR_CODE_OPERATION
public static final int ERR_CODE_OTHER
public int getCode()
public BLEException setCode(int code)
public java.lang.String getMessage()
public BLEException setMessage(java.lang.String message)
public java.lang.String toString()
toString in class java.lang.Object