Class BluetoothException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.codename1.bluetooth.BluetoothException

public class BluetoothException extends Exception
Thrown via the failure path of every AsyncResource returned by the Bluetooth APIs. getError() returns a typed BluetoothError so callers can react without string-matching the message; for BluetoothError.GATT_ERROR failures getGattStatus() additionally exposes the raw ATT status code reported by the remote device.