public class DefaultExceptionHandler extends BLEExceptionHandler
| Constructor and Description |
|---|
DefaultExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onConnectException(ConnectException e)
connect failed
|
protected void |
onGattException(GattException e)
gatt error status
|
protected void |
onOtherException(OtherException e)
other exceptions
|
protected void |
onScanException(ScanException e)
scan device failure
|
protected void |
onTimeoutException(TimeoutException e)
operation timeout
|
handleExceptionprotected void onConnectException(ConnectException e)
BLEExceptionHandleronConnectException in class BLEExceptionHandlerprotected void onGattException(GattException e)
BLEExceptionHandleronGattException in class BLEExceptionHandlerprotected void onTimeoutException(TimeoutException e)
BLEExceptionHandleronTimeoutException in class BLEExceptionHandlerprotected void onScanException(ScanException e)
BLEExceptionHandleronScanException in class BLEExceptionHandlerprotected void onOtherException(OtherException e)
BLEExceptionHandleronOtherException in class BLEExceptionHandler