-
- All Implemented Interfaces:
-
java.io.Serializable
public class BleAlreadyConnectedException extends BleException
An exception being emitted from an io.reactivex.Observable returned by the function establishConnection or other establishConnection() overloads when this kind of observable was already subscribed and com.polidea.rxandroidble2.RxBleConnection is currently being established or active.
To prevent this exception from being emitted one must either:* always unsubscribe from the above mentioned Observable before subscribing again* share or publish the above mentioned Observable so it will be subscribed only once
-
-
Constructor Summary
Constructors Constructor Description BleAlreadyConnectedException(String macAddress)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BleAlreadyConnectedException
BleAlreadyConnectedException(String macAddress)
-
-
-
-