Back to project page android-sdk.
The source code is released under:
MIT License
If you think the Android project android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.relayr.ble.service.error; //from w w w. j a va 2s .c o m import android.bluetooth.BluetoothGattCharacteristic; import io.relayr.ble.BluetoothGattStatus; public class WriteCharacteristicException extends Exception { public final BluetoothGattCharacteristic characteristic; public final int status; public WriteCharacteristicException(BluetoothGattCharacteristic characteristic, int status) { this.characteristic = characteristic; this.status = status; } @Override public String getMessage() { return toString(); } @Override public String toString() { return BluetoothGattStatus.toString(status); } }